Tests: Add usage and tests for previous commit.

This commit is contained in:
John Kessenich 2018-04-17 17:44:11 -06:00
parent fccbb8b40a
commit 2ead40ffa8
6 changed files with 60 additions and 2 deletions

View file

@ -0,0 +1,27 @@
compoundsuffix.frag.hlsl
// Module Version 10000
// Generated by (magic number): 80006
// Id's are bound by 21
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 20
ExecutionMode 4 OriginUpperLeft
Source HLSL 500
Name 4 "main"
Name 20 "fragColor"
Decorate 20(fragColor) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
13: 6(float) Constant 1065353216
14: 7(fvec4) ConstantComposite 13 13 13 13
19: TypePointer Output 7(fvec4)
20(fragColor): 19(ptr) Variable Output
4(main): 2 Function None 3
5: Label
Store 20(fragColor) 14
Return
FunctionEnd