Emit DebugTypePointer when non-semantic debug info is enabled

This commit is contained in:
Sajjad Mirza 2023-12-28 08:00:37 -08:00 committed by GitHub
parent 89824a83b7
commit e17ecb0e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 9174 additions and 8925 deletions

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.tese
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 335
// Id's are bound by 355
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 283 297 305 317 324
EntryPoint TessellationEvaluation 14 "main" 46 65 94 115 144 182 300 316 324 337 344
ExecutionMode 14 Quads
ExecutionMode 14 SpacingEqual
ExecutionMode 14 VertexOrderCw
@ -24,118 +24,118 @@ spv.debuginfo.glsl.tese
#line 1
"
30: String "float"
37: String "uv1"
45: String "inUV"
48: String "int"
62: String "gl_TessCoord"
72: String "uv2"
89: String "outUV"
101: String "n1"
108: String "inNormal"
121: String "n2"
136: String "outNormal"
150: String "pos1"
156: String "gl_Position"
159: String "gl_PointSize"
162: String "gl_CullDistance"
166: String "gl_PerVertex"
172: String "gl_in"
186: String "pos2"
200: String "pos"
212: String "type.2d.image"
213: String "@type.2d.image"
217: String "type.sampled.image"
218: String "@type.sampled.image"
222: String "displacementMap"
231: String "bool"
238: String "modelview"
243: String "lightPos"
246: String "frustumPlanes"
248: String "tessellatedEdgeSize"
252: String "viewportDim"
256: String "UBO"
260: String "ubo"
299: String "outViewVec"
307: String "outLightVec"
319: String "outWorldPos"
326: String "outEyePos"
39: String "uv1"
48: String "inUV"
51: String "int"
67: String "gl_TessCoord"
78: String "uv2"
96: String "outUV"
109: String "n1"
117: String "inNormal"
130: String "n2"
146: String "outNormal"
161: String "pos1"
167: String "gl_Position"
170: String "gl_PointSize"
173: String "gl_CullDistance"
177: String "gl_PerVertex"
184: String "gl_in"
199: String "pos2"
213: String "pos"
225: String "type.2d.image"
226: String "@type.2d.image"
230: String "type.sampled.image"
231: String "@type.sampled.image"
236: String "displacementMap"
245: String "bool"
252: String "modelview"
256: String "lightPos"
259: String "frustumPlanes"
261: String "tessellatedEdgeSize"
265: String "viewportDim"
269: String "UBO"
274: String "ubo"
318: String "outViewVec"
326: String "outLightVec"
339: String "outWorldPos"
346: String "outEyePos"
Name 14 "main"
Name 35 "uv1"
Name 43 "inUV"
Name 60 "gl_TessCoord"
Name 70 "uv2"
Name 87 "outUV"
Name 99 "n1"
Name 106 "inNormal"
Name 119 "n2"
Name 134 "outNormal"
Name 148 "pos1"
Name 154 "gl_PerVertex"
MemberName 154(gl_PerVertex) 0 "gl_Position"
MemberName 154(gl_PerVertex) 1 "gl_PointSize"
MemberName 154(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 154(gl_PerVertex) 3 "gl_CullDistance"
Name 170 "gl_in"
Name 184 "pos2"
Name 198 "pos"
Name 220 "displacementMap"
Name 236 "UBO"
MemberName 236(UBO) 0 "projection"
MemberName 236(UBO) 1 "modelview"
MemberName 236(UBO) 2 "lightPos"
MemberName 236(UBO) 3 "frustumPlanes"
MemberName 236(UBO) 4 "displacementFactor"
MemberName 236(UBO) 5 "tessellationFactor"
MemberName 236(UBO) 6 "viewportDim"
MemberName 236(UBO) 7 "tessellatedEdgeSize"
Name 258 "ubo"
Name 273 "gl_PerVertex"
MemberName 273(gl_PerVertex) 0 "gl_Position"
MemberName 273(gl_PerVertex) 1 "gl_PointSize"
MemberName 273(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 273(gl_PerVertex) 3 "gl_CullDistance"
Name 283 ""
Name 297 "outViewVec"
Name 305 "outLightVec"
Name 317 "outWorldPos"
Name 324 "outEyePos"
Decorate 43(inUV) Location 1
Decorate 60(gl_TessCoord) BuiltIn TessCoord
Decorate 87(outUV) Location 1
Decorate 106(inNormal) Location 0
Decorate 134(outNormal) Location 0
MemberDecorate 154(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 154(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 154(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 154(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 154(gl_PerVertex) Block
Decorate 220(displacementMap) DescriptorSet 0
Decorate 220(displacementMap) Binding 1
Decorate 234 ArrayStride 16
MemberDecorate 236(UBO) 0 ColMajor
MemberDecorate 236(UBO) 0 Offset 0
MemberDecorate 236(UBO) 0 MatrixStride 16
MemberDecorate 236(UBO) 1 ColMajor
MemberDecorate 236(UBO) 1 Offset 64
MemberDecorate 236(UBO) 1 MatrixStride 16
MemberDecorate 236(UBO) 2 Offset 128
MemberDecorate 236(UBO) 3 Offset 144
MemberDecorate 236(UBO) 4 Offset 240
MemberDecorate 236(UBO) 5 Offset 244
MemberDecorate 236(UBO) 6 Offset 248
MemberDecorate 236(UBO) 7 Offset 256
Decorate 236(UBO) Block
Decorate 258(ubo) DescriptorSet 0
Decorate 258(ubo) Binding 0
MemberDecorate 273(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 273(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 273(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 273(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 273(gl_PerVertex) Block
Decorate 297(outViewVec) Location 2
Decorate 305(outLightVec) Location 3
Decorate 317(outWorldPos) Location 5
Decorate 324(outEyePos) Location 4
Name 37 "uv1"
Name 46 "inUV"
Name 65 "gl_TessCoord"
Name 76 "uv2"
Name 94 "outUV"
Name 107 "n1"
Name 115 "inNormal"
Name 128 "n2"
Name 144 "outNormal"
Name 159 "pos1"
Name 165 "gl_PerVertex"
MemberName 165(gl_PerVertex) 0 "gl_Position"
MemberName 165(gl_PerVertex) 1 "gl_PointSize"
MemberName 165(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 165(gl_PerVertex) 3 "gl_CullDistance"
Name 182 "gl_in"
Name 197 "pos2"
Name 211 "pos"
Name 234 "displacementMap"
Name 250 "UBO"
MemberName 250(UBO) 0 "projection"
MemberName 250(UBO) 1 "modelview"
MemberName 250(UBO) 2 "lightPos"
MemberName 250(UBO) 3 "frustumPlanes"
MemberName 250(UBO) 4 "displacementFactor"
MemberName 250(UBO) 5 "tessellationFactor"
MemberName 250(UBO) 6 "viewportDim"
MemberName 250(UBO) 7 "tessellatedEdgeSize"
Name 272 "ubo"
Name 289 "gl_PerVertex"
MemberName 289(gl_PerVertex) 0 "gl_Position"
MemberName 289(gl_PerVertex) 1 "gl_PointSize"
MemberName 289(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 289(gl_PerVertex) 3 "gl_CullDistance"
Name 300 ""
Name 316 "outViewVec"
Name 324 "outLightVec"
Name 337 "outWorldPos"
Name 344 "outEyePos"
Decorate 46(inUV) Location 1
Decorate 65(gl_TessCoord) BuiltIn TessCoord
Decorate 94(outUV) Location 1
Decorate 115(inNormal) Location 0
Decorate 144(outNormal) Location 0
MemberDecorate 165(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 165(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 165(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 165(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 165(gl_PerVertex) Block
Decorate 234(displacementMap) DescriptorSet 0
Decorate 234(displacementMap) Binding 1
Decorate 248 ArrayStride 16
MemberDecorate 250(UBO) 0 ColMajor
MemberDecorate 250(UBO) 0 Offset 0
MemberDecorate 250(UBO) 0 MatrixStride 16
MemberDecorate 250(UBO) 1 ColMajor
MemberDecorate 250(UBO) 1 Offset 64
MemberDecorate 250(UBO) 1 MatrixStride 16
MemberDecorate 250(UBO) 2 Offset 128
MemberDecorate 250(UBO) 3 Offset 144
MemberDecorate 250(UBO) 4 Offset 240
MemberDecorate 250(UBO) 5 Offset 244
MemberDecorate 250(UBO) 6 Offset 248
MemberDecorate 250(UBO) 7 Offset 256
Decorate 250(UBO) Block
Decorate 272(ubo) DescriptorSet 0
Decorate 272(ubo) Binding 0
MemberDecorate 289(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 289(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 289(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 289(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 289(gl_PerVertex) Block
Decorate 316(outViewVec) Location 2
Decorate 324(outLightVec) Location 3
Decorate 337(outWorldPos) Location 5
Decorate 344(outEyePos) Location 4
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@ -158,291 +158,311 @@ spv.debuginfo.glsl.tese
32: TypeVector 29(float) 2
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24
34: TypePointer Function 32(fvec2)
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 33 18 28 12 17 23
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
40: TypeArray 32(fvec2) 10
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10
42: TypePointer Input 40
43(inUV): 42(ptr) Variable Input
46: 7(int) Constant 8
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 45 41 18 28 12 21 45 43(inUV) 46
47: TypeInt 32 1
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 23 12
50: 47(int) Constant 0
51: TypePointer Input 32(fvec2)
54: 47(int) Constant 1
57: TypeVector 29(float) 3
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13
59: TypePointer Input 57(fvec3)
60(gl_TessCoord): 59(ptr) Variable Input
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 28 12 21 62 60(gl_TessCoord) 46
63: TypePointer Input 29(float)
69: 7(int) Constant 57
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 72 33 18 69 12 17 23
74: 47(int) Constant 3
77: 47(int) Constant 2
85: 7(int) Constant 58
86: TypePointer Output 32(fvec2)
87(outUV): 86(ptr) Variable Output
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 89 33 18 85 12 21 89 87(outUV) 46
97: 7(int) Constant 60
98: TypePointer Function 57(fvec3)
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 101 58 18 97 12 17 23
103: TypeArray 57(fvec3) 10
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 10
105: TypePointer Input 103
106(inNormal): 105(ptr) Variable Input
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 104 18 97 12 21 108 106(inNormal) 46
118: 7(int) Constant 61
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 58 18 118 12 17 23
132: 7(int) Constant 62
133: TypePointer Output 57(fvec3)
134(outNormal): 133(ptr) Variable Output
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 58 18 132 12 21 136 134(outNormal) 46
144: 7(int) Constant 65
145: TypeVector 29(float) 4
146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
147: TypePointer Function 145(fvec4)
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 150 146 18 144 12 17 23
152: TypeArray 29(float) 22
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
154(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
157: 7(int) Constant 1756
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 157 12 12 13
160: 7(int) Constant 1774
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 160 12 12 13
163: 7(int) Constant 1817
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 144 12 21 166 12 13 155 158 161 164
167: TypeArray 154(gl_PerVertex) 10
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 165 10
169: TypePointer Input 167
170(gl_in): 169(ptr) Variable Input
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 172 168 18 144 12 21 172 170(gl_in) 46
173: TypePointer Input 145(fvec4)
183: 7(int) Constant 66
185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 186 146 18 183 12 17 23
197: 7(int) Constant 67
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 146 18 197 12 17 23
209: 7(int) Constant 69
210: TypeImage 29(float) 2D sampled format:Unknown
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 212 12 18 209 12 21 213 214 13
215: TypeSampledImage 210
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 217 12 18 209 12 21 218 214 13
219: TypePointer UniformConstant 215
220(displacementMap): 219(ptr) Variable UniformConstant
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 222 216 18 209 12 21 222 220(displacementMap) 46
225: 29(float) Constant 0
228: TypeMatrix 145(fvec4) 4
230: TypeBool
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 231 10 24 12
233: 230(bool) ConstantTrue
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 233
234: TypeArray 145(fvec4) 11
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11
236(UBO): TypeStruct 228 228 145(fvec4) 234 29(float) 29(float) 32(fvec2) 29(float)
239: 7(int) Constant 30
240: 7(int) Constant 7
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13
241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13
244: 7(int) Constant 31
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 146 18 244 240 12 12 13
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 235 18 10 240 12 12 13
249: 7(int) Constant 36
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
253: 7(int) Constant 35
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 33 18 253 240 12 12 13
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 256 22 18 209 12 21 256 12 13 237 241 242 245 247 250 251 254
257: TypePointer Uniform 236(UBO)
258(ubo): 257(ptr) Variable Uniform
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 260 255 18 209 12 21 260 258(ubo) 46
261: 47(int) Constant 4
262: TypePointer Uniform 29(float)
266: TypePointer Function 29(float)
272: 7(int) Constant 71
273(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
275: 7(int) Constant 165
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 275 12 12 13
277: 7(int) Constant 183
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 277 12 12 13
279: 7(int) Constant 226
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 272 12 21 166 12 13 274 276 278 280
282: TypePointer Output 273(gl_PerVertex)
283: 282(ptr) Variable Output
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 281 18 272 12 21 1 283 46
285: TypePointer Uniform 228
293: TypePointer Output 145(fvec4)
296: 7(int) Constant 74
297(outViewVec): 133(ptr) Variable Output
298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 299 58 18 296 12 21 299 297(outViewVec) 46
304: 7(int) Constant 75
305(outLightVec): 133(ptr) Variable Output
306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 307 58 18 304 12 21 307 305(outLightVec) 46
308: TypePointer Uniform 145(fvec4)
316: 7(int) Constant 76
317(outWorldPos): 133(ptr) Variable Output
318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 319 58 18 316 12 21 319 317(outWorldPos) 46
323: 7(int) Constant 77
324(outEyePos): 133(ptr) Variable Output
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 58 18 323 12 21 326 324(outEyePos) 46
35: 7(int) Constant 7
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 35 12
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 39 33 18 28 12 17 23
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
42: TypeArray 32(fvec2) 10
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10
44: TypePointer Input 42
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 22 12
46(inUV): 44(ptr) Variable Input
49: 7(int) Constant 8
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 43 18 28 12 21 48 46(inUV) 49
50: TypeInt 32 1
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 23 12
53: 50(int) Constant 0
54: TypePointer Input 32(fvec2)
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 22 12
58: 50(int) Constant 1
61: TypeVector 29(float) 3
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13
63: TypePointer Input 61(fvec3)
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 22 12
65(gl_TessCoord): 63(ptr) Variable Input
66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 67 62 18 28 12 21 67 65(gl_TessCoord) 49
68: TypePointer Input 29(float)
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12
75: 7(int) Constant 57
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 33 18 75 12 17 23
80: 50(int) Constant 3
83: 50(int) Constant 2
91: 7(int) Constant 58
92: TypePointer Output 32(fvec2)
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 13 12
94(outUV): 92(ptr) Variable Output
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 96 33 18 91 12 21 96 94(outUV) 49
104: 7(int) Constant 60
105: TypePointer Function 61(fvec3)
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 35 12
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 109 62 18 104 12 17 23
111: TypeArray 61(fvec3) 10
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 62 10
113: TypePointer Input 111
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 112 22 12
115(inNormal): 113(ptr) Variable Input
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 117 112 18 104 12 21 117 115(inNormal) 49
127: 7(int) Constant 61
129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 130 62 18 127 12 17 23
141: 7(int) Constant 62
142: TypePointer Output 61(fvec3)
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 13 12
144(outNormal): 142(ptr) Variable Output
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 146 62 18 141 12 21 146 144(outNormal) 49
154: 7(int) Constant 65
155: TypeVector 29(float) 4
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
157: TypePointer Function 155(fvec4)
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 35 12
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 156 18 154 12 17 23
163: TypeArray 29(float) 22
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
165(gl_PerVertex): TypeStruct 155(fvec4) 29(float) 163 163
168: 7(int) Constant 1756
166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 167 156 18 22 168 12 12 13
171: 7(int) Constant 1774
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 31 18 22 171 12 12 13
174: 7(int) Constant 1817
172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 174 12 12 13
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 174 12 12 13
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 177 22 18 154 12 21 177 12 13 166 169 172 175
178: TypeArray 165(gl_PerVertex) 10
179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 176 10
180: TypePointer Input 178
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 179 22 12
182(gl_in): 180(ptr) Variable Input
183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 184 179 18 154 12 21 184 182(gl_in) 49
185: TypePointer Input 155(fvec4)
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 22 12
196: 7(int) Constant 66
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 156 18 196 12 17 23
210: 7(int) Constant 67
212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 213 156 18 210 12 17 23
222: 7(int) Constant 69
223: TypeImage 29(float) 2D sampled format:Unknown
227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 225 12 18 222 12 21 226 227 13
228: TypeSampledImage 223
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 230 12 18 222 12 21 231 227 13
232: TypePointer UniformConstant 228
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 229 12 12
234(displacementMap): 232(ptr) Variable UniformConstant
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 236 229 18 222 12 21 236 234(displacementMap) 49
239: 29(float) Constant 0
242: TypeMatrix 155(fvec4) 4
244: TypeBool
246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 245 10 24 12
247: 244(bool) ConstantTrue
243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 156 23 247
248: TypeArray 155(fvec4) 11
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 156 11
250(UBO): TypeStruct 242 242 155(fvec4) 248 29(float) 29(float) 32(fvec2) 29(float)
253: 7(int) Constant 30
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 243 18 253 35 12 12 13
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 243 18 253 35 12 12 13
257: 7(int) Constant 31
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 256 156 18 257 35 12 12 13
258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 259 249 18 10 35 12 12 13
262: 7(int) Constant 36
260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13
266: 7(int) Constant 35
264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 265 33 18 266 35 12 12 13
267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 269 22 18 222 12 21 269 12 13 251 254 255 258 260 263 264 267
270: TypePointer Uniform 250(UBO)
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 268 24 12
272(ubo): 270(ptr) Variable Uniform
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 274 268 18 222 12 21 274 272(ubo) 49
275: 50(int) Constant 4
276: TypePointer Uniform 29(float)
277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 24 12
281: TypePointer Function 29(float)
282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 35 12
288: 7(int) Constant 71
289(gl_PerVertex): TypeStruct 155(fvec4) 29(float) 163 163
291: 7(int) Constant 165
290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 167 156 18 22 291 12 12 13
293: 7(int) Constant 183
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 31 18 22 293 12 12 13
295: 7(int) Constant 226
294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 295 12 12 13
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 295 12 12 13
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 177 22 18 288 12 21 177 12 13 290 292 294 296
298: TypePointer Output 289(gl_PerVertex)
299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 297 13 12
300: 298(ptr) Variable Output
301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 297 18 288 12 21 1 300 49
302: TypePointer Uniform 242
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 243 24 12
311: TypePointer Output 155(fvec4)
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 13 12
315: 7(int) Constant 74
316(outViewVec): 142(ptr) Variable Output
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 318 62 18 315 12 21 318 316(outViewVec) 49
323: 7(int) Constant 75
324(outLightVec): 142(ptr) Variable Output
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 62 18 323 12 21 326 324(outLightVec) 49
327: TypePointer Uniform 155(fvec4)
328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 24 12
336: 7(int) Constant 76
337(outWorldPos): 142(ptr) Variable Output
338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 339 62 18 336 12 21 339 337(outWorldPos) 49
343: 7(int) Constant 77
344(outEyePos): 142(ptr) Variable Output
345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 346 62 18 343 12 21 346 344(outEyePos) 49
Line 1 53 11
14(main): 4 Function None 5
15: Label
35(uv1): 34(ptr) Variable Function
70(uv2): 34(ptr) Variable Function
99(n1): 98(ptr) Variable Function
119(n2): 98(ptr) Variable Function
148(pos1): 147(ptr) Variable Function
184(pos2): 147(ptr) Variable Function
198(pos): 147(ptr) Variable Function
37(uv1): 34(ptr) Variable Function
76(uv2): 34(ptr) Variable Function
107(n1): 105(ptr) Variable Function
128(n2): 105(ptr) Variable Function
159(pos1): 157(ptr) Variable Function
197(pos2): 157(ptr) Variable Function
211(pos): 157(ptr) Variable Function
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 36 35(uv1) 39
52: 51(ptr) AccessChain 43(inUV) 50
53: 32(fvec2) Load 52
55: 51(ptr) AccessChain 43(inUV) 54
56: 32(fvec2) Load 55
64: 63(ptr) AccessChain 60(gl_TessCoord) 12
65: 29(float) Load 64
66: 32(fvec2) CompositeConstruct 65 65
67: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 53 56 66
Store 35(uv1) 67
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 71 70(uv2) 39
75: 51(ptr) AccessChain 43(inUV) 74
76: 32(fvec2) Load 75
78: 51(ptr) AccessChain 43(inUV) 77
79: 32(fvec2) Load 78
80: 63(ptr) AccessChain 60(gl_TessCoord) 12
81: 29(float) Load 80
82: 32(fvec2) CompositeConstruct 81 81
83: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 76 79 82
Store 70(uv2) 83
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 85 85 12 12
90: 32(fvec2) Load 35(uv1)
91: 32(fvec2) Load 70(uv2)
92: 63(ptr) AccessChain 60(gl_TessCoord) 22
93: 29(float) Load 92
94: 32(fvec2) CompositeConstruct 93 93
95: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 90 91 94
Store 87(outUV) 95
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 99(n1) 39
109: 59(ptr) AccessChain 106(inNormal) 50
110: 57(fvec3) Load 109
111: 59(ptr) AccessChain 106(inNormal) 54
112: 57(fvec3) Load 111
113: 63(ptr) AccessChain 60(gl_TessCoord) 12
114: 29(float) Load 113
115: 57(fvec3) CompositeConstruct 114 114 114
116: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 110 112 115
Store 99(n1) 116
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(n2) 39
123: 59(ptr) AccessChain 106(inNormal) 74
124: 57(fvec3) Load 123
125: 59(ptr) AccessChain 106(inNormal) 77
126: 57(fvec3) Load 125
127: 63(ptr) AccessChain 60(gl_TessCoord) 12
128: 29(float) Load 127
129: 57(fvec3) CompositeConstruct 128 128 128
130: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 124 126 129
Store 119(n2) 130
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 132 132 12 12
137: 57(fvec3) Load 99(n1)
138: 57(fvec3) Load 119(n2)
139: 63(ptr) AccessChain 60(gl_TessCoord) 22
140: 29(float) Load 139
141: 57(fvec3) CompositeConstruct 140 140 140
142: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 137 138 141
Store 134(outNormal) 142
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 149 148(pos1) 39
174: 173(ptr) AccessChain 170(gl_in) 50 50
175: 145(fvec4) Load 174
176: 173(ptr) AccessChain 170(gl_in) 54 50
177: 145(fvec4) Load 176
178: 63(ptr) AccessChain 60(gl_TessCoord) 12
179: 29(float) Load 178
180: 145(fvec4) CompositeConstruct 179 179 179 179
181: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 175 177 180
Store 148(pos1) 181
182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 183 183 12 12
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 185 184(pos2) 39
188: 173(ptr) AccessChain 170(gl_in) 74 50
189: 145(fvec4) Load 188
190: 173(ptr) AccessChain 170(gl_in) 77 50
191: 145(fvec4) Load 190
192: 63(ptr) AccessChain 60(gl_TessCoord) 12
193: 29(float) Load 192
194: 145(fvec4) CompositeConstruct 193 193 193 193
195: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 189 191 194
Store 184(pos2) 195
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 197 197 12 12
201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(pos) 39
202: 145(fvec4) Load 148(pos1)
203: 145(fvec4) Load 184(pos2)
204: 63(ptr) AccessChain 60(gl_TessCoord) 22
205: 29(float) Load 204
206: 145(fvec4) CompositeConstruct 205 205 205 205
207: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 203 206
Store 198(pos) 207
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12
223: 215 Load 220(displacementMap)
224: 32(fvec2) Load 87(outUV)
226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225
227: 29(float) CompositeExtract 226 0
263: 262(ptr) AccessChain 258(ubo) 261
264: 29(float) Load 263
265: 29(float) FMul 227 264
267: 266(ptr) AccessChain 198(pos) 22
268: 29(float) Load 267
269: 29(float) FSub 268 265
270: 266(ptr) AccessChain 198(pos) 22
Store 270 269
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
286: 285(ptr) AccessChain 258(ubo) 50
287: 228 Load 286
288: 285(ptr) AccessChain 258(ubo) 54
289: 228 Load 288
290: 228 MatrixTimesMatrix 287 289
291: 145(fvec4) Load 198(pos)
292: 145(fvec4) MatrixTimesVector 290 291
294: 293(ptr) AccessChain 283 50
Store 294 292
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 296 296 12 12
300: 145(fvec4) Load 198(pos)
301: 57(fvec3) VectorShuffle 300 300 0 1 2
302: 57(fvec3) FNegate 301
Store 297(outViewVec) 302
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 304 304 12 12
309: 308(ptr) AccessChain 258(ubo) 77
310: 145(fvec4) Load 309
311: 57(fvec3) VectorShuffle 310 310 0 1 2
312: 57(fvec3) Load 297(outViewVec)
313: 57(fvec3) FAdd 311 312
314: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 313
Store 305(outLightVec) 314
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 316 316 12 12
320: 145(fvec4) Load 198(pos)
321: 57(fvec3) VectorShuffle 320 320 0 1 2
Store 317(outWorldPos) 321
40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 38 37(uv1) 41
56: 54(ptr) AccessChain 46(inUV) 53
57: 32(fvec2) Load 56
59: 54(ptr) AccessChain 46(inUV) 58
60: 32(fvec2) Load 59
70: 68(ptr) AccessChain 65(gl_TessCoord) 12
71: 29(float) Load 70
72: 32(fvec2) CompositeConstruct 71 71
73: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 57 60 72
Store 37(uv1) 73
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 75 75 12 12
79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 77 76(uv2) 41
81: 54(ptr) AccessChain 46(inUV) 80
82: 32(fvec2) Load 81
84: 54(ptr) AccessChain 46(inUV) 83
85: 32(fvec2) Load 84
86: 68(ptr) AccessChain 65(gl_TessCoord) 12
87: 29(float) Load 86
88: 32(fvec2) CompositeConstruct 87 87
89: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 82 85 88
Store 76(uv2) 89
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 91 91 12 12
97: 32(fvec2) Load 37(uv1)
98: 32(fvec2) Load 76(uv2)
99: 68(ptr) AccessChain 65(gl_TessCoord) 22
100: 29(float) Load 99
101: 32(fvec2) CompositeConstruct 100 100
102: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 97 98 101
Store 94(outUV) 102
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 104 104 12 12
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(n1) 41
118: 63(ptr) AccessChain 115(inNormal) 53
119: 61(fvec3) Load 118
120: 63(ptr) AccessChain 115(inNormal) 58
121: 61(fvec3) Load 120
122: 68(ptr) AccessChain 65(gl_TessCoord) 12
123: 29(float) Load 122
124: 61(fvec3) CompositeConstruct 123 123 123
125: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 119 121 124
Store 107(n1) 125
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 127 127 12 12
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 129 128(n2) 41
132: 63(ptr) AccessChain 115(inNormal) 80
133: 61(fvec3) Load 132
134: 63(ptr) AccessChain 115(inNormal) 83
135: 61(fvec3) Load 134
136: 68(ptr) AccessChain 65(gl_TessCoord) 12
137: 29(float) Load 136
138: 61(fvec3) CompositeConstruct 137 137 137
139: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 133 135 138
Store 128(n2) 139
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12
147: 61(fvec3) Load 107(n1)
148: 61(fvec3) Load 128(n2)
149: 68(ptr) AccessChain 65(gl_TessCoord) 22
150: 29(float) Load 149
151: 61(fvec3) CompositeConstruct 150 150 150
152: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 147 148 151
Store 144(outNormal) 152
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 154 154 12 12
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(pos1) 41
187: 185(ptr) AccessChain 182(gl_in) 53 53
188: 155(fvec4) Load 187
189: 185(ptr) AccessChain 182(gl_in) 58 53
190: 155(fvec4) Load 189
191: 68(ptr) AccessChain 65(gl_TessCoord) 12
192: 29(float) Load 191
193: 155(fvec4) CompositeConstruct 192 192 192 192
194: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 188 190 193
Store 159(pos1) 194
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 196 196 12 12
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos2) 41
201: 185(ptr) AccessChain 182(gl_in) 80 53
202: 155(fvec4) Load 201
203: 185(ptr) AccessChain 182(gl_in) 83 53
204: 155(fvec4) Load 203
205: 68(ptr) AccessChain 65(gl_TessCoord) 12
206: 29(float) Load 205
207: 155(fvec4) CompositeConstruct 206 206 206 206
208: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 204 207
Store 197(pos2) 208
209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 210 210 12 12
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 212 211(pos) 41
215: 155(fvec4) Load 159(pos1)
216: 155(fvec4) Load 197(pos2)
217: 68(ptr) AccessChain 65(gl_TessCoord) 22
218: 29(float) Load 217
219: 155(fvec4) CompositeConstruct 218 218 218 218
220: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 215 216 219
Store 211(pos) 220
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 222 222 12 12
237: 228 Load 234(displacementMap)
238: 32(fvec2) Load 94(outUV)
240: 155(fvec4) ImageSampleExplicitLod 237 238 Lod 239
241: 29(float) CompositeExtract 240 0
278: 276(ptr) AccessChain 272(ubo) 275
279: 29(float) Load 278
280: 29(float) FMul 241 279
283: 281(ptr) AccessChain 211(pos) 22
284: 29(float) Load 283
285: 29(float) FSub 284 280
286: 281(ptr) AccessChain 211(pos) 22
Store 286 285
287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 288 288 12 12
304: 302(ptr) AccessChain 272(ubo) 53
305: 242 Load 304
306: 302(ptr) AccessChain 272(ubo) 58
307: 242 Load 306
308: 242 MatrixTimesMatrix 305 307
309: 155(fvec4) Load 211(pos)
310: 155(fvec4) MatrixTimesVector 308 309
313: 311(ptr) AccessChain 300 53
Store 313 310
314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 315 315 12 12
319: 155(fvec4) Load 211(pos)
320: 61(fvec3) VectorShuffle 319 319 0 1 2
321: 61(fvec3) FNegate 320
Store 316(outViewVec) 321
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12
327: 285(ptr) AccessChain 258(ubo) 54
328: 228 Load 327
329: 145(fvec4) Load 198(pos)
330: 145(fvec4) MatrixTimesVector 328 329
331: 29(float) CompositeExtract 330 0
332: 29(float) CompositeExtract 330 1
333: 29(float) CompositeExtract 330 2
334: 57(fvec3) CompositeConstruct 331 332 333
Store 324(outEyePos) 334
329: 327(ptr) AccessChain 272(ubo) 83
330: 155(fvec4) Load 329
331: 61(fvec3) VectorShuffle 330 330 0 1 2
332: 61(fvec3) Load 316(outViewVec)
333: 61(fvec3) FAdd 331 332
334: 61(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 333
Store 324(outLightVec) 334
335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 336 336 12 12
340: 155(fvec4) Load 211(pos)
341: 61(fvec3) VectorShuffle 340 340 0 1 2
Store 337(outWorldPos) 341
342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 343 343 12 12
347: 302(ptr) AccessChain 272(ubo) 58
348: 242 Load 347
349: 155(fvec4) Load 211(pos)
350: 155(fvec4) MatrixTimesVector 348 349
351: 29(float) CompositeExtract 350 0
352: 29(float) CompositeExtract 350 1
353: 29(float) CompositeExtract 350 2
354: 61(fvec3) CompositeConstruct 351 352 353
Store 344(outEyePos) 354
Return
FunctionEnd