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:
186
Test/baseResults/spv.texture.vert.out
Normal file
186
Test/baseResults/spv.texture.vert.out
Normal file
@@ -0,0 +1,186 @@
|
||||
spv.texture.vert
|
||||
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
||||
|
||||
|
||||
// Module Version 99
|
||||
// Generated by (magic number): 51a00bb
|
||||
// Id's are bound by 132
|
||||
|
||||
Source GLSL 130
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4
|
||||
Name 4 "main"
|
||||
Name 9 "lod"
|
||||
Name 11 "coords1D"
|
||||
Name 15 "coords3D"
|
||||
Name 21 "coords4D"
|
||||
Name 24 "color"
|
||||
Name 29 "texSampler1D"
|
||||
Name 39 "coords2D"
|
||||
Name 53 "texSampler2D"
|
||||
Name 74 "texSampler3D"
|
||||
Name 89 "texSamplerCube"
|
||||
Name 98 "shadowSampler1D"
|
||||
Name 107 "shadowSampler2D"
|
||||
Name 127 "gl_Position"
|
||||
Name 131 "gl_VertexID"
|
||||
Decorate 127(gl_Position) BuiltIn Position
|
||||
Decorate 131(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 131(gl_VertexID) NoStaticUse
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
7: TypeFloat 32
|
||||
8: TypePointer Function 7(float)
|
||||
10: 7(float) Constant 1077936128
|
||||
12: 7(float) Constant 1071971828
|
||||
13: TypeVector 7(float) 3
|
||||
14: TypePointer Function 13(fvec3)
|
||||
16: 7(float) Constant 1076753334
|
||||
17: 7(float) Constant 1079836148
|
||||
18: 13(fvec3) ConstantComposite 12 16 17
|
||||
19: TypeVector 7(float) 4
|
||||
20: TypePointer Function 19(fvec4)
|
||||
22: 7(float) Constant 1073741824
|
||||
23: 19(fvec4) ConstantComposite 12 16 17 22
|
||||
25: 7(float) Constant 0
|
||||
26: 19(fvec4) ConstantComposite 25 25 25 25
|
||||
27: TypeSampler7(float) 1D filter+texture
|
||||
28: TypePointer UniformConstant 27
|
||||
29(texSampler1D): 28(ptr) Variable UniformConstant
|
||||
37: TypeVector 7(float) 2
|
||||
38: TypePointer Input 37(fvec2)
|
||||
39(coords2D): 38(ptr) Variable Input
|
||||
51: TypeSampler7(float) 2D filter+texture
|
||||
52: TypePointer UniformConstant 51
|
||||
53(texSampler2D): 52(ptr) Variable UniformConstant
|
||||
72: TypeSampler7(float) 3D filter+texture
|
||||
73: TypePointer UniformConstant 72
|
||||
74(texSampler3D): 73(ptr) Variable UniformConstant
|
||||
87: TypeSampler7(float) Cube filter+texture
|
||||
88: TypePointer UniformConstant 87
|
||||
89(texSamplerCube): 88(ptr) Variable UniformConstant
|
||||
96: TypeSampler7(float) 1D filter+texture depth
|
||||
97: TypePointer UniformConstant 96
|
||||
98(shadowSampler1D): 97(ptr) Variable UniformConstant
|
||||
105: TypeSampler7(float) 2D filter+texture depth
|
||||
106: TypePointer UniformConstant 105
|
||||
107(shadowSampler2D): 106(ptr) Variable UniformConstant
|
||||
126: TypePointer Output 19(fvec4)
|
||||
127(gl_Position): 126(ptr) Variable Output
|
||||
129: TypeInt 32 1
|
||||
130: TypePointer Input 129(int)
|
||||
131(gl_VertexID): 130(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
9(lod): 8(ptr) Variable Function
|
||||
11(coords1D): 8(ptr) Variable Function
|
||||
15(coords3D): 14(ptr) Variable Function
|
||||
21(coords4D): 20(ptr) Variable Function
|
||||
24(color): 20(ptr) Variable Function
|
||||
Store 9(lod) 10
|
||||
Store 11(coords1D) 12
|
||||
Store 15(coords3D) 18
|
||||
Store 21(coords4D) 23
|
||||
Store 24(color) 26
|
||||
30: 27 Load 29(texSampler1D)
|
||||
31: 7(float) Load 11(coords1D)
|
||||
32: 7(float) Load 9(lod)
|
||||
33: 19(fvec4) TextureSampleLod 30 31 32
|
||||
34: 19(fvec4) Load 24(color)
|
||||
35: 19(fvec4) FAdd 34 33
|
||||
Store 24(color) 35
|
||||
36: 27 Load 29(texSampler1D)
|
||||
40: 37(fvec2) Load 39(coords2D)
|
||||
41: 7(float) Load 9(lod)
|
||||
42: 19(fvec4) TextureSampleProjLod 36 40 41
|
||||
43: 19(fvec4) Load 24(color)
|
||||
44: 19(fvec4) FAdd 43 42
|
||||
Store 24(color) 44
|
||||
45: 27 Load 29(texSampler1D)
|
||||
46: 19(fvec4) Load 21(coords4D)
|
||||
47: 7(float) Load 9(lod)
|
||||
48: 19(fvec4) TextureSampleProjLod 45 46 47
|
||||
49: 19(fvec4) Load 24(color)
|
||||
50: 19(fvec4) FAdd 49 48
|
||||
Store 24(color) 50
|
||||
54: 51 Load 53(texSampler2D)
|
||||
55: 37(fvec2) Load 39(coords2D)
|
||||
56: 7(float) Load 9(lod)
|
||||
57: 19(fvec4) TextureSampleLod 54 55 56
|
||||
58: 19(fvec4) Load 24(color)
|
||||
59: 19(fvec4) FAdd 58 57
|
||||
Store 24(color) 59
|
||||
60: 51 Load 53(texSampler2D)
|
||||
61: 13(fvec3) Load 15(coords3D)
|
||||
62: 7(float) Load 9(lod)
|
||||
63: 19(fvec4) TextureSampleProjLod 60 61 62
|
||||
64: 19(fvec4) Load 24(color)
|
||||
65: 19(fvec4) FAdd 64 63
|
||||
Store 24(color) 65
|
||||
66: 51 Load 53(texSampler2D)
|
||||
67: 19(fvec4) Load 21(coords4D)
|
||||
68: 7(float) Load 9(lod)
|
||||
69: 19(fvec4) TextureSampleProjLod 66 67 68
|
||||
70: 19(fvec4) Load 24(color)
|
||||
71: 19(fvec4) FAdd 70 69
|
||||
Store 24(color) 71
|
||||
75: 72 Load 74(texSampler3D)
|
||||
76: 13(fvec3) Load 15(coords3D)
|
||||
77: 7(float) Load 9(lod)
|
||||
78: 19(fvec4) TextureSampleLod 75 76 77
|
||||
79: 19(fvec4) Load 24(color)
|
||||
80: 19(fvec4) FAdd 79 78
|
||||
Store 24(color) 80
|
||||
81: 72 Load 74(texSampler3D)
|
||||
82: 19(fvec4) Load 21(coords4D)
|
||||
83: 7(float) Load 9(lod)
|
||||
84: 19(fvec4) TextureSampleProjLod 81 82 83
|
||||
85: 19(fvec4) Load 24(color)
|
||||
86: 19(fvec4) FAdd 85 84
|
||||
Store 24(color) 86
|
||||
90: 87 Load 89(texSamplerCube)
|
||||
91: 13(fvec3) Load 15(coords3D)
|
||||
92: 7(float) Load 9(lod)
|
||||
93: 19(fvec4) TextureSampleLod 90 91 92
|
||||
94: 19(fvec4) Load 24(color)
|
||||
95: 19(fvec4) FAdd 94 93
|
||||
Store 24(color) 95
|
||||
99: 96 Load 98(shadowSampler1D)
|
||||
100: 13(fvec3) Load 15(coords3D)
|
||||
101: 7(float) Load 9(lod)
|
||||
102: 19(fvec4) TextureSampleLod 99 100 101
|
||||
103: 19(fvec4) Load 24(color)
|
||||
104: 19(fvec4) FAdd 103 102
|
||||
Store 24(color) 104
|
||||
108: 105 Load 107(shadowSampler2D)
|
||||
109: 13(fvec3) Load 15(coords3D)
|
||||
110: 7(float) Load 9(lod)
|
||||
111: 19(fvec4) TextureSampleLod 108 109 110
|
||||
112: 19(fvec4) Load 24(color)
|
||||
113: 19(fvec4) FAdd 112 111
|
||||
Store 24(color) 113
|
||||
114: 96 Load 98(shadowSampler1D)
|
||||
115: 19(fvec4) Load 21(coords4D)
|
||||
116: 7(float) Load 9(lod)
|
||||
117: 19(fvec4) TextureSampleProjLod 114 115 116
|
||||
118: 19(fvec4) Load 24(color)
|
||||
119: 19(fvec4) FAdd 118 117
|
||||
Store 24(color) 119
|
||||
120: 105 Load 107(shadowSampler2D)
|
||||
121: 19(fvec4) Load 21(coords4D)
|
||||
122: 7(float) Load 9(lod)
|
||||
123: 19(fvec4) TextureSampleProjLod 120 121 122
|
||||
124: 19(fvec4) Load 24(color)
|
||||
125: 19(fvec4) FAdd 124 123
|
||||
Store 24(color) 125
|
||||
128: 19(fvec4) Load 24(color)
|
||||
Store 127(gl_Position) 128
|
||||
Branch 6
|
||||
6: Label
|
||||
Return
|
||||
FunctionEnd
|
||||
Reference in New Issue
Block a user