glslang SPV tests: Add a set of SPV tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
e7cbfa5cab
commit
39374dadb5
136 changed files with 12813 additions and 0 deletions
64
Test/baseResults/spv.whileLoop.frag.out
Normal file
64
Test/baseResults/spv.whileLoop.frag.out
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
spv.whileLoop.frag
|
||||
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
|
||||
// Module Version 99
|
||||
// Generated by (magic number): 51a00bb
|
||||
// Id's are bound by 32
|
||||
|
||||
Source GLSL 110
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4
|
||||
Name 4 "main"
|
||||
Name 10 "color"
|
||||
Name 12 "BaseColor"
|
||||
Name 19 "d"
|
||||
Name 25 "bigColor"
|
||||
Name 30 "gl_FragColor"
|
||||
Decorate 12(BaseColor) Smooth
|
||||
Decorate 30(gl_FragColor) BuiltIn FragColor
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
7: TypeFloat 32
|
||||
8: TypeVector 7(float) 4
|
||||
9: TypePointer Function 8(fvec4)
|
||||
11: TypePointer Input 8(fvec4)
|
||||
12(BaseColor): 11(ptr) Variable Input
|
||||
18: TypePointer UniformConstant 7(float)
|
||||
19(d): 18(ptr) Variable UniformConstant
|
||||
21: TypeBool
|
||||
24: TypePointer UniformConstant 8(fvec4)
|
||||
25(bigColor): 24(ptr) Variable UniformConstant
|
||||
29: TypePointer Output 8(fvec4)
|
||||
30(gl_FragColor): 29(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
10(color): 9(ptr) Variable Function
|
||||
13: 8(fvec4) Load 12(BaseColor)
|
||||
Store 10(color) 13
|
||||
Branch 14
|
||||
14: Label
|
||||
16: 8(fvec4) Load 10(color)
|
||||
17: 7(float) CompositeExtract 16 0
|
||||
20: 7(float) Load 19(d)
|
||||
22: 21(bool) FOrdLessThan 17 20
|
||||
LoopMerge 15 None
|
||||
BranchConditional 22 23 15
|
||||
23: Label
|
||||
26: 8(fvec4) Load 25(bigColor)
|
||||
27: 8(fvec4) Load 10(color)
|
||||
28: 8(fvec4) FAdd 27 26
|
||||
Store 10(color) 28
|
||||
Branch 14
|
||||
15: Label
|
||||
31: 8(fvec4) Load 10(color)
|
||||
Store 30(gl_FragColor) 31
|
||||
Branch 6
|
||||
6: Label
|
||||
Return
|
||||
FunctionEnd
|
||||
Loading…
Add table
Add a link
Reference in a new issue