Clean up the debug line info tracking and generation.

- Correctly populate the field `currentFileId` with the presence of include directive
- Support lazy OpLine/OpDebugLine generation only when a real instruction is added instead of a debug location is set
- Improve the debug location tracking to per-block instead of just per-builder
- A few bug fixes related to debug source info
This commit is contained in:
Qingyuan Zheng 2024-02-09 10:27:40 -08:00 committed by GitHub
parent b1f7affe94
commit 30661abd9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 8844 additions and 8834 deletions

View file

@ -1,19 +1,19 @@
spv.debuginfo.bufferref.glsl.frag
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 143
// Id's are bound by 142
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_non_semantic_info"
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 14 "main" 75 134
EntryPoint Fragment 14 "main" 76 131
ExecutionMode 14 OriginUpperLeft
1: String ""
2: String ""
8: String "uint"
16: String "main"
19: String "// OpModuleProcessed auto-map-locations
@ -24,45 +24,45 @@ spv.debuginfo.bufferref.glsl.frag
// OpModuleProcessed entry-point main
#line 1
"
32: String "Mesh"
31: String "Mesh"
34: String "float"
40: String "data"
44: String "MeshVertexPositions"
50: String "meshData"
62: String "PerPass_meshes"
68: String "perPass_meshes"
70: String "int"
77: String "tri_idx0"
95: String "vertex_pos0"
136: String "out_fragColor"
63: String "PerPass_meshes"
69: String "perPass_meshes"
71: String "int"
78: String "tri_idx0"
94: String "vertex_pos0"
133: String "out_fragColor"
SourceExtension "GL_EXT_buffer_reference"
Name 14 "main"
Name 30 "Mesh"
MemberName 30(Mesh) 0 "positions"
Name 29 "Mesh"
MemberName 29(Mesh) 0 "positions"
Name 38 "MeshVertexPositions"
MemberName 38(MeshVertexPositions) 0 "data"
Name 48 "meshData"
Name 53 "Mesh"
MemberName 53(Mesh) 0 "positions"
Name 57 "PerPass_meshes"
MemberName 57(PerPass_meshes) 0 "data"
Name 66 "perPass_meshes"
Name 75 "tri_idx0"
Name 93 "vertex_pos0"
Name 134 "out_fragColor"
Name 54 "Mesh"
MemberName 54(Mesh) 0 "positions"
Name 58 "PerPass_meshes"
MemberName 58(PerPass_meshes) 0 "data"
Name 67 "perPass_meshes"
Name 76 "tri_idx0"
Name 92 "vertex_pos0"
Name 131 "out_fragColor"
Decorate 36 ArrayStride 4
MemberDecorate 38(MeshVertexPositions) 0 Offset 0
Decorate 38(MeshVertexPositions) Block
MemberDecorate 53(Mesh) 0 Offset 0
Decorate 55 ArrayStride 8
MemberDecorate 57(PerPass_meshes) 0 NonWritable
MemberDecorate 57(PerPass_meshes) 0 Offset 0
Decorate 57(PerPass_meshes) Block
Decorate 66(perPass_meshes) DescriptorSet 0
Decorate 66(perPass_meshes) Binding 0
Decorate 75(tri_idx0) Flat
Decorate 75(tri_idx0) Location 0
Decorate 134(out_fragColor) Location 0
MemberDecorate 54(Mesh) 0 Offset 0
Decorate 56 ArrayStride 8
MemberDecorate 58(PerPass_meshes) 0 NonWritable
MemberDecorate 58(PerPass_meshes) 0 Offset 0
Decorate 58(PerPass_meshes) Block
Decorate 67(perPass_meshes) DescriptorSet 0
Decorate 67(perPass_meshes) Binding 0
Decorate 76(tri_idx0) Flat
Decorate 76(tri_idx0) Location 0
Decorate 131(out_fragColor) Location 0
Decorate 48(meshData) DecorationAliasedPointerEXT
4: TypeVoid
5: TypeFunction 4
@ -70,129 +70,127 @@ spv.debuginfo.bufferref.glsl.frag
10: 7(int) Constant 32
11: 7(int) Constant 6
12: 7(int) Constant 0
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
9: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
13: 7(int) Constant 3
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
6: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
18: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 19
20: 7(int) Constant 20
22: 7(int) Constant 1
23: 7(int) Constant 4
24: 7(int) Constant 2
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
28: 7(int) Constant 21
TypeForwardPointer 29 PhysicalStorageBufferEXT
30(Mesh): TypeStruct 29
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13
21: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
17: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
TypeForwardPointer 28 PhysicalStorageBufferEXT
29(Mesh): TypeStruct 28
32: 7(int) Constant 21
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 31 22 18 32 12 21 31 12 13
33: TypeFloat 32
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 34 10 13 12
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 34 10 13 12
36: TypeRuntimeArray 33(float)
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 12
37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 12
38(MeshVertexPositions): TypeStruct 36
41: 7(int) Constant 5
42: 7(int) Constant 9
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 37 18 41 42 12 12 13
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 44 22 18 28 12 21 44 12 13 39
29: TypePointer PhysicalStorageBufferEXT 38(MeshVertexPositions)
45: TypePointer Function 30(Mesh)
39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 37 18 41 42 12 12 13
43: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 44 22 18 32 12 21 44 12 13 39
28: TypePointer PhysicalStorageBufferEXT 38(MeshVertexPositions)
45: TypePointer Function 29(Mesh)
46: 7(int) Constant 7
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 46 12
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 31 18 28 12 17 23
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
53(Mesh): TypeStruct 29(ptr)
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13
55: TypeRuntimeArray 53(Mesh)
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 54 12
57(PerPass_meshes): TypeStruct 55
59: 7(int) Constant 13
60: 7(int) Constant 8
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 56 18 59 60 12 12 13
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 62 22 18 28 12 21 62 12 13 58
63: TypePointer StorageBuffer 57(PerPass_meshes)
64: 7(int) Constant 12
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 64 12
66(perPass_meshes): 63(ptr) Variable StorageBuffer
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 68 61 18 28 12 21 68 66(perPass_meshes) 60
69: TypeInt 32 1
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 70 10 23 12
72: 69(int) Constant 0
73: TypePointer Input 7(int)
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 22 12
75(tri_idx0): 73(ptr) Variable Input
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 9 18 28 12 21 77 75(tri_idx0) 60
79: TypePointer StorageBuffer 53(Mesh)
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 54 64 12
84: TypePointer Function 29(ptr)
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
88: 7(int) Constant 23
89: TypeVector 33(float) 3
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13
91: TypePointer Function 89(fvec3)
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 46 12
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 95 90 18 88 12 17 23
98: 7(int) Constant 25
104: TypePointer PhysicalStorageBufferEXT 33(float)
105: 7(int) Constant 5349
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 35 105 12
110: 7(int) Constant 24
129: 7(int) Constant 27
130: TypeVector 33(float) 4
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23
132: TypePointer Output 130(fvec4)
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 131 13 12
134(out_fragColor): 132(ptr) Variable Output
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 131 18 129 12 21 136 134(out_fragColor) 60
138: 33(float) Constant 1065353216
Line 1 20 11
47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 30 46 12
49: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 30 18 32 12 17 23
52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
54(Mesh): TypeStruct 28(ptr)
55: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 31 22 18 32 12 21 31 12 13
56: TypeRuntimeArray 54(Mesh)
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 55 12
58(PerPass_meshes): TypeStruct 56
60: 7(int) Constant 13
61: 7(int) Constant 8
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 57 18 60 61 12 12 13
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 63 22 18 32 12 21 63 12 13 59
64: TypePointer StorageBuffer 58(PerPass_meshes)
65: 7(int) Constant 12
66: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 65 12
67(perPass_meshes): 64(ptr) Variable StorageBuffer
68: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 69 62 18 32 12 21 69 67(perPass_meshes) 61
70: TypeInt 32 1
72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 71 10 23 12
73: 70(int) Constant 0
74: TypePointer Input 7(int)
75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 22 12
76(tri_idx0): 74(ptr) Variable Input
77: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 78 9 18 32 12 21 78 76(tri_idx0) 61
80: TypePointer StorageBuffer 54(Mesh)
81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 55 65 12
85: TypePointer Function 28(ptr)
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
88: TypeVector 33(float) 3
89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13
90: TypePointer Function 88(fvec3)
91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 89 46 12
95: 7(int) Constant 23
93: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 94 89 18 95 12 17 23
102: TypePointer PhysicalStorageBufferEXT 33(float)
103: 7(int) Constant 5349
104: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 35 103 12
109: 7(int) Constant 24
118: 7(int) Constant 25
127: TypeVector 33(float) 4
128: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23
129: TypePointer Output 127(fvec4)
130: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 13 12
131(out_fragColor): 129(ptr) Variable Output
134: 7(int) Constant 27
132: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 133 128 18 134 12 21 133 131(out_fragColor) 61
137: 33(float) Constant 1065353216
14(main): 4 Function None 5
15: Label
48(meshData): 45(ptr) Variable Function
93(vertex_pos0): 91(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
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 48(meshData) 52
78: 7(int) Load 75(tri_idx0)
81: 79(ptr) AccessChain 66(perPass_meshes) 72 78
82: 53(Mesh) Load 81
83: 29(ptr) CompositeExtract 82 0
86: 84(ptr) AccessChain 48(meshData) 72
Store 86 83
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 94 93(vertex_pos0) 52
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 98 98 12 12
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12
100: 84(ptr) AccessChain 48(meshData) 72
101: 29(ptr) Load 100
102: 7(int) Load 75(tri_idx0)
103: 7(int) IMul 13 102
107: 104(ptr) AccessChain 101 72 103
108: 33(float) Load 107 Aligned 4
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 110 110 12 12
111: 84(ptr) AccessChain 48(meshData) 72
112: 29(ptr) Load 111
113: 7(int) Load 75(tri_idx0)
114: 7(int) IMul 13 113
115: 7(int) IAdd 114 22
116: 104(ptr) AccessChain 112 72 115
117: 33(float) Load 116 Aligned 4
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 98 98 12 12
119: 84(ptr) AccessChain 48(meshData) 72
120: 29(ptr) Load 119
121: 7(int) Load 75(tri_idx0)
122: 7(int) IMul 13 121
123: 7(int) IAdd 122 24
124: 104(ptr) AccessChain 120 72 123
125: 33(float) Load 124 Aligned 4
126: 89(fvec3) CompositeConstruct 108 117 125
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12
Store 93(vertex_pos0) 126
128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 129 129 12 12
137: 89(fvec3) Load 93(vertex_pos0)
139: 33(float) CompositeExtract 137 0
140: 33(float) CompositeExtract 137 1
141: 33(float) CompositeExtract 137 2
142: 130(fvec4) CompositeConstruct 139 140 141 138
Store 134(out_fragColor) 142
92(vertex_pos0): 90(ptr) Variable Function
26: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 20 20 12 12
25: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 32 32 12 12
51: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 48(meshData) 52
79: 7(int) Load 76(tri_idx0)
82: 80(ptr) AccessChain 67(perPass_meshes) 73 79
83: 54(Mesh) Load 82
84: 28(ptr) CompositeExtract 83 0
87: 85(ptr) AccessChain 48(meshData) 73
Store 87 84
97: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 95 95 12 12
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 93 92(vertex_pos0) 52
98: 85(ptr) AccessChain 48(meshData) 73
99: 28(ptr) Load 98
100: 7(int) Load 76(tri_idx0)
101: 7(int) IMul 13 100
105: 102(ptr) AccessChain 99 73 101
106: 33(float) Load 105 Aligned 4
108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 109 109 12 12
107: 85(ptr) AccessChain 48(meshData) 73
110: 28(ptr) Load 107
111: 7(int) Load 76(tri_idx0)
112: 7(int) IMul 13 111
113: 7(int) IAdd 112 22
114: 102(ptr) AccessChain 110 73 113
115: 33(float) Load 114 Aligned 4
117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12
116: 85(ptr) AccessChain 48(meshData) 73
119: 28(ptr) Load 116
120: 7(int) Load 76(tri_idx0)
121: 7(int) IMul 13 120
122: 7(int) IAdd 121 24
123: 102(ptr) AccessChain 119 73 122
124: 33(float) Load 123 Aligned 4
125: 88(fvec3) CompositeConstruct 106 115 124
126: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 95 95 12 12
Store 92(vertex_pos0) 125
136: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 134 134 12 12
135: 88(fvec3) Load 92(vertex_pos0)
138: 33(float) CompositeExtract 135 0
139: 33(float) CompositeExtract 135 1
140: 33(float) CompositeExtract 135 2
141: 127(fvec4) CompositeConstruct 138 139 140 137
Store 131(out_fragColor) 141
Return
FunctionEnd

View file

@ -1,16 +1,16 @@
spv.debuginfo.const_params.glsl.comp
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 70
// Id's are bound by 71
Capability Shader
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 14 "main"
ExecutionMode 14 LocalSize 1 1 1
1: String ""
2: String ""
8: String "uint"
17: String "float"
35: String "function"
@ -22,7 +22,7 @@ spv.debuginfo.const_params.glsl.comp
// OpModuleProcessed entry-point main
#line 1
"
45: String "f"
43: String "f"
49: String "f2"
52: String "f3"
55: String "f4"
@ -39,60 +39,59 @@ spv.debuginfo.const_params.glsl.comp
10: 7(int) Constant 32
11: 7(int) Constant 6
12: 7(int) Constant 0
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
9: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
13: 7(int) Constant 3
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
6: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
16: TypeFloat 32
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12
18: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12
19: TypeVector 16(float) 2
20: 7(int) Constant 2
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20
21: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20
22: TypeVector 16(float) 3
23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13
23: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13
24: TypeVector 16(float) 4
25: 7(int) Constant 4
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 25
26: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 25
27: TypeFunction 4 16(float) 19(fvec2) 22(fvec3) 24(fvec4)
28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 18 21 23 26
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 38
28: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 18 21 23 26
37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 38
39: 7(int) Constant 7
41: 7(int) Constant 1
40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 41 25 37 20
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 35 28 37 39 12 40 35 13 39
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 18 37 39 12 36 25 41
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 21 37 39 12 36 25 20
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 23 37 39 12 36 25 13
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 55 26 37 39 12 36 25 25
40: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 41 25 37 20
36: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 35 28 37 39 12 40 35 13 39
42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 43 18 37 39 12 36 25 41
45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 21 37 39 12 36 25 20
51: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 23 37 39 12 36 25 13
54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 55 26 37 39 12 36 25 25
59: 7(int) Constant 11
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 6 37 59 12 40 57 13 59
64: 7(int) Constant 13
65: 16(float) Constant 0
66: 19(fvec2) ConstantComposite 65 65
67: 22(fvec3) ConstantComposite 65 65 65
68: 24(fvec4) ConstantComposite 65 65 65 65
Line 1 11 11
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 6 37 59 12 40 57 13 59
64: 16(float) Constant 0
65: 19(fvec2) ConstantComposite 64 64
66: 22(fvec3) ConstantComposite 64 64 64
67: 24(fvec4) ConstantComposite 64 64 64 64
70: 7(int) Constant 13
14(main): 4 Function None 5
15: Label
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 14(main)
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 64 64 12 12
69: 4 FunctionCall 33(function(f1;vf2;vf3;vf4;) 65 66 67 68
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58
63: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 59 59 12 12
61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 14(main)
69: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 70 70 12 12
68: 4 FunctionCall 33(function(f1;vf2;vf3;vf4;) 64 65 66 67
Return
FunctionEnd
Line 1 7 18
33(function(f1;vf2;vf3;vf4;): 4 Function None 27
29(f): 16(float) FunctionParameter
30(f2): 19(fvec2) FunctionParameter
31(f3): 22(fvec3) FunctionParameter
32(f4): 24(fvec4) FunctionParameter
34: Label
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 39 39 12 12
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 44 29(f) 47
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 48 30(f2) 47
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 51 31(f3) 47
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 54 32(f4) 47
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 36 33(function(f1;vf2;vf3;vf4;)
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 39 39 12 12
44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 42 29(f) 45
50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 48 30(f2) 45
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 51 31(f3) 45
56: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 54 32(f4) 45
60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 36 33(function(f1;vf2;vf3;vf4;)
Return
FunctionEnd

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,20 +1,20 @@
spv.debuginfo.glsl.geom
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 272
// Id's are bound by 273
Capability Geometry
Capability MultiViewport
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 14 "main" 66 99 120 131 134 167 209 218 236 250 256 259
EntryPoint Geometry 14 "main" 64 98 121 130 134 168 208 217 236 249 255 259
ExecutionMode 14 Triangles
ExecutionMode 14 Invocations 2
ExecutionMode 14 OutputTriangleStrip
ExecutionMode 14 OutputVertices 3
1: String ""
2: String ""
8: String "uint"
16: String "main"
19: String "// OpModuleProcessed auto-map-locations
@ -25,97 +25,97 @@ spv.debuginfo.glsl.geom
// OpModuleProcessed entry-point main
#line 1
"
30: String "int"
37: String "i"
53: String "bool"
60: String "float"
68: String "outNormal"
81: String "projection"
84: String "modelview"
87: String "lightPos"
90: String "UBO"
95: String "ubo"
101: String "gl_InvocationID"
122: String "inNormal"
133: String "outColor"
29: String "int"
36: String "i"
54: String "bool"
58: String "float"
66: String "outNormal"
80: String "projection"
83: String "modelview"
86: String "lightPos"
89: String "UBO"
94: String "ubo"
100: String "gl_InvocationID"
123: String "inNormal"
132: String "outColor"
136: String "inColor"
146: String "pos"
152: String "gl_Position"
155: String "gl_PointSize"
158: String "gl_CullDistance"
162: String "gl_PerVertex"
169: String "gl_in"
179: String "worldPos"
192: String "lPos"
211: String "outLightVec"
220: String "outViewVec"
252: String "gl_ViewportIndex"
258: String "gl_PrimitiveID"
145: String "pos"
153: String "gl_Position"
156: String "gl_PointSize"
159: String "gl_CullDistance"
163: String "gl_PerVertex"
170: String "gl_in"
178: String "worldPos"
191: String "lPos"
210: String "outLightVec"
219: String "outViewVec"
251: String "gl_ViewportIndex"
257: String "gl_PrimitiveID"
261: String "gl_PrimitiveIDIn"
SourceExtension "GL_ARB_viewport_array"
Name 14 "main"
Name 35 "i"
Name 66 "outNormal"
Name 79 "UBO"
MemberName 79(UBO) 0 "projection"
MemberName 79(UBO) 1 "modelview"
MemberName 79(UBO) 2 "lightPos"
Name 93 "ubo"
Name 99 "gl_InvocationID"
Name 120 "inNormal"
Name 131 "outColor"
Name 34 "i"
Name 64 "outNormal"
Name 78 "UBO"
MemberName 78(UBO) 0 "projection"
MemberName 78(UBO) 1 "modelview"
MemberName 78(UBO) 2 "lightPos"
Name 92 "ubo"
Name 98 "gl_InvocationID"
Name 121 "inNormal"
Name 130 "outColor"
Name 134 "inColor"
Name 144 "pos"
Name 150 "gl_PerVertex"
MemberName 150(gl_PerVertex) 0 "gl_Position"
MemberName 150(gl_PerVertex) 1 "gl_PointSize"
MemberName 150(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 150(gl_PerVertex) 3 "gl_CullDistance"
Name 167 "gl_in"
Name 177 "worldPos"
Name 190 "lPos"
Name 209 "outLightVec"
Name 218 "outViewVec"
Name 226 "gl_PerVertex"
MemberName 226(gl_PerVertex) 0 "gl_Position"
MemberName 226(gl_PerVertex) 1 "gl_PointSize"
MemberName 226(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 226(gl_PerVertex) 3 "gl_CullDistance"
Name 143 "pos"
Name 151 "gl_PerVertex"
MemberName 151(gl_PerVertex) 0 "gl_Position"
MemberName 151(gl_PerVertex) 1 "gl_PointSize"
MemberName 151(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 151(gl_PerVertex) 3 "gl_CullDistance"
Name 168 "gl_in"
Name 176 "worldPos"
Name 189 "lPos"
Name 208 "outLightVec"
Name 217 "outViewVec"
Name 225 "gl_PerVertex"
MemberName 225(gl_PerVertex) 0 "gl_Position"
MemberName 225(gl_PerVertex) 1 "gl_PointSize"
MemberName 225(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 225(gl_PerVertex) 3 "gl_CullDistance"
Name 236 ""
Name 250 "gl_ViewportIndex"
Name 256 "gl_PrimitiveID"
Name 249 "gl_ViewportIndex"
Name 255 "gl_PrimitiveID"
Name 259 "gl_PrimitiveIDIn"
Decorate 66(outNormal) Location 0
Decorate 75 ArrayStride 64
Decorate 77 ArrayStride 64
MemberDecorate 79(UBO) 0 ColMajor
MemberDecorate 79(UBO) 0 Offset 0
MemberDecorate 79(UBO) 0 MatrixStride 16
MemberDecorate 79(UBO) 1 ColMajor
MemberDecorate 79(UBO) 1 Offset 128
MemberDecorate 79(UBO) 1 MatrixStride 16
MemberDecorate 79(UBO) 2 Offset 256
Decorate 79(UBO) Block
Decorate 93(ubo) DescriptorSet 0
Decorate 93(ubo) Binding 0
Decorate 99(gl_InvocationID) BuiltIn InvocationId
Decorate 120(inNormal) Location 0
Decorate 131(outColor) Location 1
Decorate 64(outNormal) Location 0
Decorate 74 ArrayStride 64
Decorate 76 ArrayStride 64
MemberDecorate 78(UBO) 0 ColMajor
MemberDecorate 78(UBO) 0 Offset 0
MemberDecorate 78(UBO) 0 MatrixStride 16
MemberDecorate 78(UBO) 1 ColMajor
MemberDecorate 78(UBO) 1 Offset 128
MemberDecorate 78(UBO) 1 MatrixStride 16
MemberDecorate 78(UBO) 2 Offset 256
Decorate 78(UBO) Block
Decorate 92(ubo) DescriptorSet 0
Decorate 92(ubo) Binding 0
Decorate 98(gl_InvocationID) BuiltIn InvocationId
Decorate 121(inNormal) Location 0
Decorate 130(outColor) Location 1
Decorate 134(inColor) Location 1
MemberDecorate 150(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 150(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 150(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 150(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 150(gl_PerVertex) Block
Decorate 209(outLightVec) Location 3
Decorate 218(outViewVec) Location 2
MemberDecorate 226(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 226(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 226(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 226(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 226(gl_PerVertex) Block
Decorate 250(gl_ViewportIndex) BuiltIn ViewportIndex
Decorate 256(gl_PrimitiveID) BuiltIn PrimitiveId
MemberDecorate 151(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 151(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 151(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 151(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 151(gl_PerVertex) Block
Decorate 208(outLightVec) Location 3
Decorate 217(outViewVec) Location 2
MemberDecorate 225(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 225(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 225(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 225(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 225(gl_PerVertex) Block
Decorate 249(gl_ViewportIndex) BuiltIn ViewportIndex
Decorate 255(gl_PrimitiveID) BuiltIn PrimitiveId
Decorate 259(gl_PrimitiveIDIn) BuiltIn PrimitiveId
4: TypeVoid
5: TypeFunction 4
@ -123,258 +123,258 @@ spv.debuginfo.glsl.geom
10: 7(int) Constant 32
11: 7(int) Constant 6
12: 7(int) Constant 0
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
9: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
13: 7(int) Constant 3
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
6: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
18: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 19
20: 7(int) Constant 47
22: 7(int) Constant 1
23: 7(int) Constant 4
24: 7(int) Constant 2
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
28: 7(int) Constant 49
29: TypeInt 32 1
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 23 12
32: TypePointer Function 29(int)
33: 7(int) Constant 7
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 33 12
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 31 18 28 12 17 23
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
40: 29(int) Constant 0
51: 29(int) Constant 3
52: TypeBool
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 53 10 24 12
58: 7(int) Constant 51
59: TypeFloat 32
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 60 10 13 12
62: TypeVector 59(float) 3
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 13
64: TypePointer Output 62(fvec3)
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 13 12
66(outNormal): 64(ptr) Variable Output
69: 7(int) Constant 8
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 68 63 18 58 12 21 68 66(outNormal) 69
70: TypeVector 59(float) 4
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 23
72: TypeMatrix 70(fvec4) 4
74: 52(bool) ConstantTrue
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 71 23 74
75: TypeArray 72 24
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24
77: TypeArray 72 24
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24
79(UBO): TypeStruct 75 77 70(fvec4)
82: 7(int) Constant 34
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 76 18 82 33 12 12 13
85: 7(int) Constant 35
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 78 18 85 33 12 12 13
88: 7(int) Constant 36
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 71 18 88 33 12 12 13
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 90 22 18 58 12 21 90 12 13 80 83 86
91: TypePointer Uniform 79(UBO)
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 89 24 12
93(ubo): 91(ptr) Variable Uniform
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 95 89 18 58 12 21 95 93(ubo) 69
96: 29(int) Constant 1
97: TypePointer Input 29(int)
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12
99(gl_InvocationID): 97(ptr) Variable Input
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 101 31 18 58 12 21 101 99(gl_InvocationID) 69
103: TypePointer Uniform 72
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 24 12
107: TypeMatrix 62(fvec3) 3
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 63 13 74
116: TypeArray 62(fvec3) 13
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 63 13
118: TypePointer Input 116
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 117 22 12
120(inNormal): 118(ptr) Variable Input
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 18 58 12 21 122 120(inNormal) 69
124: TypePointer Input 62(fvec3)
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 22 12
130: 7(int) Constant 52
131(outColor): 64(ptr) Variable Output
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 133 63 18 130 12 21 133 131(outColor) 69
134(inColor): 118(ptr) Variable Input
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 117 18 130 12 21 136 134(inColor) 69
141: 7(int) Constant 54
142: TypePointer Function 70(fvec4)
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 33 12
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 146 71 18 141 12 17 23
148: TypeArray 59(float) 22
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 22
150(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148
153: 7(int) Constant 23
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 153 12 12 13
156: 7(int) Constant 41
154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 156 12 12 13
159: 7(int) Constant 84
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 141 12 21 162 12 13 151 154 157 160
163: TypeArray 150(gl_PerVertex) 13
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 161 13
165: TypePointer Input 163
166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 22 12
167(gl_in): 165(ptr) Variable Input
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 169 164 18 141 12 21 169 167(gl_in) 69
171: TypePointer Input 70(fvec4)
172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 22 12
176: 7(int) Constant 55
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 71 18 176 12 17 23
187: 7(int) Constant 57
188: TypePointer Function 62(fvec3)
189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 33 12
191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 63 18 187 12 17 23
197: 29(int) Constant 2
198: TypePointer Uniform 70(fvec4)
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 24 12
208: 7(int) Constant 58
209(outLightVec): 64(ptr) Variable Output
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 211 63 18 208 12 21 211 209(outLightVec) 69
217: 7(int) Constant 59
218(outViewVec): 64(ptr) Variable Output
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 220 63 18 217 12 21 220 218(outViewVec) 69
225: 7(int) Constant 61
226(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148
228: 7(int) Constant 215
227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 228 12 12 13
230: 7(int) Constant 233
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 230 12 12 13
231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 225 12 21 162 12 13 227 229 231 232
234: TypePointer Output 226(gl_PerVertex)
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 233 13 12
21: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
17: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
28: TypeInt 32 1
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 23 12
31: TypePointer Function 28(int)
32: 7(int) Constant 7
33: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 30 32 12
37: 7(int) Constant 49
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 36 30 18 37 12 17 23
39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
41: 28(int) Constant 0
52: 28(int) Constant 3
53: TypeBool
55: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 54 10 24 12
57: TypeFloat 32
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12
60: TypeVector 57(float) 3
61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 13
62: TypePointer Output 60(fvec3)
63: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 13 12
64(outNormal): 62(ptr) Variable Output
67: 7(int) Constant 51
68: 7(int) Constant 8
65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 66 61 18 67 12 21 66 64(outNormal) 68
69: TypeVector 57(float) 4
70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 23
71: TypeMatrix 69(fvec4) 4
73: 53(bool) ConstantTrue
72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 70 23 73
74: TypeArray 71 24
75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 72 24
76: TypeArray 71 24
77: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 72 24
78(UBO): TypeStruct 74 76 69(fvec4)
81: 7(int) Constant 34
79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 80 75 18 81 32 12 12 13
84: 7(int) Constant 35
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 83 77 18 84 32 12 12 13
87: 7(int) Constant 36
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 86 70 18 87 32 12 12 13
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 89 22 18 67 12 21 89 12 13 79 82 85
90: TypePointer Uniform 78(UBO)
91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 88 24 12
92(ubo): 90(ptr) Variable Uniform
93: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 88 18 67 12 21 94 92(ubo) 68
95: 28(int) Constant 1
96: TypePointer Input 28(int)
97: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 30 22 12
98(gl_InvocationID): 96(ptr) Variable Input
99: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 100 30 18 67 12 21 100 98(gl_InvocationID) 68
104: TypePointer Uniform 71
105: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 72 24 12
108: TypeMatrix 60(fvec3) 3
109: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 61 13 73
117: TypeArray 60(fvec3) 13
118: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 13
119: TypePointer Input 117
120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 118 22 12
121(inNormal): 119(ptr) Variable Input
122: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 123 118 18 67 12 21 123 121(inNormal) 68
125: TypePointer Input 60(fvec3)
126: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 22 12
130(outColor): 62(ptr) Variable Output
133: 7(int) Constant 52
131: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 132 61 18 133 12 21 132 130(outColor) 68
134(inColor): 119(ptr) Variable Input
135: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 118 18 133 12 21 136 134(inColor) 68
141: TypePointer Function 69(fvec4)
142: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 70 32 12
146: 7(int) Constant 54
144: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 145 70 18 146 12 17 23
149: TypeArray 57(float) 22
150: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 22
151(gl_PerVertex): TypeStruct 69(fvec4) 57(float) 149 149
154: 7(int) Constant 23
152: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 70 18 24 154 12 12 13
157: 7(int) Constant 41
155: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 59 18 24 157 12 12 13
160: 7(int) Constant 84
158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 150 18 24 160 12 12 13
161: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 150 18 24 160 12 12 13
162: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 22 18 146 12 21 163 12 13 152 155 158 161
164: TypeArray 151(gl_PerVertex) 13
165: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 162 13
166: TypePointer Input 164
167: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 165 22 12
168(gl_in): 166(ptr) Variable Input
169: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 170 165 18 146 12 21 170 168(gl_in) 68
172: TypePointer Input 69(fvec4)
173: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 70 22 12
179: 7(int) Constant 55
177: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 178 70 18 179 12 17 23
187: TypePointer Function 60(fvec3)
188: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 32 12
192: 7(int) Constant 57
190: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 191 61 18 192 12 17 23
198: 28(int) Constant 2
199: TypePointer Uniform 69(fvec4)
200: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 70 24 12
208(outLightVec): 62(ptr) Variable Output
211: 7(int) Constant 58
209: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 210 61 18 211 12 21 210 208(outLightVec) 68
217(outViewVec): 62(ptr) Variable Output
220: 7(int) Constant 59
218: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 219 61 18 220 12 21 219 217(outViewVec) 68
225(gl_PerVertex): TypeStruct 69(fvec4) 57(float) 149 149
227: 7(int) Constant 215
226: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 70 18 24 227 12 12 13
229: 7(int) Constant 233
228: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 59 18 24 229 12 12 13
230: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 150 18 13 32 12 12 13
231: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 150 18 13 32 12 12 13
233: 7(int) Constant 61
232: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 22 18 233 12 21 163 12 13 226 228 230 231
234: TypePointer Output 225(gl_PerVertex)
235: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 232 13 12
236: 234(ptr) Variable Output
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 233 18 225 12 21 1 236 69
243: TypePointer Output 70(fvec4)
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 13 12
247: 7(int) Constant 64
248: TypePointer Output 29(int)
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 13 12
250(gl_ViewportIndex): 248(ptr) Variable Output
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 252 31 18 247 12 21 252 250(gl_ViewportIndex) 69
255: 7(int) Constant 65
256(gl_PrimitiveID): 248(ptr) Variable Output
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 31 18 255 12 21 258 256(gl_PrimitiveID) 69
259(gl_PrimitiveIDIn): 97(ptr) Variable Input
260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 31 18 255 12 21 261 259(gl_PrimitiveIDIn) 69
264: 7(int) Constant 66
271: 7(int) Constant 68
Line 1 47 15
237: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 232 18 233 12 21 2 236 68
244: TypePointer Output 69(fvec4)
245: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 70 13 12
247: TypePointer Output 28(int)
248: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 30 13 12
249(gl_ViewportIndex): 247(ptr) Variable Output
252: 7(int) Constant 64
250: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 251 30 18 252 12 21 251 249(gl_ViewportIndex) 68
255(gl_PrimitiveID): 247(ptr) Variable Output
258: 7(int) Constant 65
256: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 30 18 258 12 21 257 255(gl_PrimitiveID) 68
259(gl_PrimitiveIDIn): 96(ptr) Variable Input
260: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 30 18 258 12 21 261 259(gl_PrimitiveIDIn) 68
265: 7(int) Constant 66
272: 7(int) Constant 68
14(main): 4 Function None 5
15: Label
35(i): 32(ptr) Variable Function
144(pos): 142(ptr) Variable Function
177(worldPos): 142(ptr) Variable Function
190(lPos): 188(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(i) 39
Store 35(i) 40
Branch 41
41: Label
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
LoopMerge 43 44 None
Branch 47
47: Label
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
50: 29(int) Load 35(i)
55: 52(bool) SLessThan 50 51
BranchConditional 55 42 43
42: Label
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 58 58 12 12
102: 29(int) Load 99(gl_InvocationID)
105: 103(ptr) AccessChain 93(ubo) 96 102
106: 72 Load 105
109: 70(fvec4) CompositeExtract 106 0
110: 62(fvec3) VectorShuffle 109 109 0 1 2
111: 70(fvec4) CompositeExtract 106 1
112: 62(fvec3) VectorShuffle 111 111 0 1 2
113: 70(fvec4) CompositeExtract 106 2
114: 62(fvec3) VectorShuffle 113 113 0 1 2
115: 107 CompositeConstruct 110 112 114
123: 29(int) Load 35(i)
126: 124(ptr) AccessChain 120(inNormal) 123
127: 62(fvec3) Load 126
128: 62(fvec3) MatrixTimesVector 115 127
Store 66(outNormal) 128
129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 130 130 12 12
137: 29(int) Load 35(i)
138: 124(ptr) AccessChain 134(inColor) 137
139: 62(fvec3) Load 138
Store 131(outColor) 139
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 145 144(pos) 39
170: 29(int) Load 35(i)
173: 171(ptr) AccessChain 167(gl_in) 170 40
174: 70(fvec4) Load 173
Store 144(pos) 174
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 176 176 12 12
180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 178 177(worldPos) 39
181: 29(int) Load 99(gl_InvocationID)
182: 103(ptr) AccessChain 93(ubo) 96 181
183: 72 Load 182
184: 70(fvec4) Load 144(pos)
185: 70(fvec4) MatrixTimesVector 183 184
Store 177(worldPos) 185
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 187 187 12 12
193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 191 190(lPos) 39
194: 29(int) Load 99(gl_InvocationID)
195: 103(ptr) AccessChain 93(ubo) 96 194
196: 72 Load 195
200: 198(ptr) AccessChain 93(ubo) 197
201: 70(fvec4) Load 200
202: 70(fvec4) MatrixTimesVector 196 201
203: 59(float) CompositeExtract 202 0
204: 59(float) CompositeExtract 202 1
205: 59(float) CompositeExtract 202 2
206: 62(fvec3) CompositeConstruct 203 204 205
Store 190(lPos) 206
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 208 208 12 12
212: 62(fvec3) Load 190(lPos)
213: 70(fvec4) Load 177(worldPos)
214: 62(fvec3) VectorShuffle 213 213 0 1 2
215: 62(fvec3) FSub 212 214
Store 209(outLightVec) 215
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12
221: 70(fvec4) Load 177(worldPos)
222: 62(fvec3) VectorShuffle 221 221 0 1 2
223: 62(fvec3) FNegate 222
Store 218(outViewVec) 223
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12
238: 29(int) Load 99(gl_InvocationID)
239: 103(ptr) AccessChain 93(ubo) 40 238
240: 72 Load 239
241: 70(fvec4) Load 177(worldPos)
242: 70(fvec4) MatrixTimesVector 240 241
245: 243(ptr) AccessChain 236 40
Store 245 242
246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 247 247 12 12
253: 29(int) Load 99(gl_InvocationID)
Store 250(gl_ViewportIndex) 253
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 255 255 12 12
262: 29(int) Load 259(gl_PrimitiveIDIn)
Store 256(gl_PrimitiveID) 262
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 264 264 12 12
34(i): 31(ptr) Variable Function
143(pos): 141(ptr) Variable Function
176(worldPos): 141(ptr) Variable Function
189(lPos): 187(ptr) Variable Function
26: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 20 20 12 12
25: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
40: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 37 37 12 12
38: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 35 34(i) 39
Store 34(i) 41
Branch 42
42: Label
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 37 37 12 12
LoopMerge 44 45 None
Branch 48
48: Label
50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
51: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 37 37 12 12
49: 28(int) Load 34(i)
56: 53(bool) SLessThan 49 52
BranchConditional 56 43 44
43: Label
102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
103: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 67 67 12 12
101: 28(int) Load 98(gl_InvocationID)
106: 104(ptr) AccessChain 92(ubo) 95 101
107: 71 Load 106
110: 69(fvec4) CompositeExtract 107 0
111: 60(fvec3) VectorShuffle 110 110 0 1 2
112: 69(fvec4) CompositeExtract 107 1
113: 60(fvec3) VectorShuffle 112 112 0 1 2
114: 69(fvec4) CompositeExtract 107 2
115: 60(fvec3) VectorShuffle 114 114 0 1 2
116: 108 CompositeConstruct 111 113 115
124: 28(int) Load 34(i)
127: 125(ptr) AccessChain 121(inNormal) 124
128: 60(fvec3) Load 127
129: 60(fvec3) MatrixTimesVector 116 128
Store 64(outNormal) 129
138: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 133 133 12 12
137: 28(int) Load 34(i)
139: 125(ptr) AccessChain 134(inColor) 137
140: 60(fvec3) Load 139
Store 130(outColor) 140
148: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 146 146 12 12
147: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 144 143(pos) 39
171: 28(int) Load 34(i)
174: 172(ptr) AccessChain 168(gl_in) 171 41
175: 69(fvec4) Load 174
Store 143(pos) 175
181: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 179 179 12 12
180: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 177 176(worldPos) 39
182: 28(int) Load 98(gl_InvocationID)
183: 104(ptr) AccessChain 92(ubo) 95 182
184: 71 Load 183
185: 69(fvec4) Load 143(pos)
186: 69(fvec4) MatrixTimesVector 184 185
Store 176(worldPos) 186
194: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 192 192 12 12
193: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 190 189(lPos) 39
195: 28(int) Load 98(gl_InvocationID)
196: 104(ptr) AccessChain 92(ubo) 95 195
197: 71 Load 196
201: 199(ptr) AccessChain 92(ubo) 198
202: 69(fvec4) Load 201
203: 69(fvec4) MatrixTimesVector 197 202
204: 57(float) CompositeExtract 203 0
205: 57(float) CompositeExtract 203 1
206: 57(float) CompositeExtract 203 2
207: 60(fvec3) CompositeConstruct 204 205 206
Store 189(lPos) 207
213: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 211 211 12 12
212: 60(fvec3) Load 189(lPos)
214: 69(fvec4) Load 176(worldPos)
215: 60(fvec3) VectorShuffle 214 214 0 1 2
216: 60(fvec3) FSub 212 215
Store 208(outLightVec) 216
222: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 220 220 12 12
221: 69(fvec4) Load 176(worldPos)
223: 60(fvec3) VectorShuffle 221 221 0 1 2
224: 60(fvec3) FNegate 223
Store 217(outViewVec) 224
239: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 233 233 12 12
238: 28(int) Load 98(gl_InvocationID)
240: 104(ptr) AccessChain 92(ubo) 41 238
241: 71 Load 240
242: 69(fvec4) Load 176(worldPos)
243: 69(fvec4) MatrixTimesVector 241 242
246: 244(ptr) AccessChain 236 41
Store 246 243
254: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12
253: 28(int) Load 98(gl_InvocationID)
Store 249(gl_ViewportIndex) 253
263: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 258 258 12 12
262: 28(int) Load 259(gl_PrimitiveIDIn)
Store 255(gl_PrimitiveID) 262
264: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 265 265 12 12
EmitVertex
Branch 44
44: Label
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
267: 29(int) Load 35(i)
268: 29(int) IAdd 267 96
Store 35(i) 268
Branch 41
43: Label
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 271 271 12 12
Branch 45
45: Label
267: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
268: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 37 37 12 12
266: 28(int) Load 34(i)
269: 28(int) IAdd 266 95
Store 34(i) 269
Branch 42
44: Label
270: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
271: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
EndPrimitive
Return
FunctionEnd

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,20 +1,20 @@
spv.debuginfo.hlsl.geom
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 367
// Id's are bound by 366
Capability Geometry
Capability MultiViewport
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 6 "main" 267 274 279 286 291 296 301 316 323 328 352 355
EntryPoint Geometry 6 "main" 264 273 278 285 290 295 300 315 322 327 351 354
ExecutionMode 6 Triangles
ExecutionMode 6 Invocations 2
ExecutionMode 6 OutputTriangleStrip
ExecutionMode 6 OutputVertices 3
1: String ""
2: String ""
9: String "float"
12: String "uint"
25: String "Pos"
@ -33,28 +33,28 @@ spv.debuginfo.hlsl.geom
54: String "LightVec"
60: String "GSOutput"
73: String "@main"
79: String "input"
77: String "input"
83: String "outStream"
87: String "InvocationID"
96: String "int"
102: String "i"
117: String "bool"
125: String "output"
148: String "projection"
152: String "modelview"
156: String "lightPos"
160: String "UBO"
163: String "ubo"
201: String "pos"
210: String "worldPos"
221: String "lPos"
269: String "outStream.Pos"
276: String "outStream.ViewportIndex"
281: String "outStream.PrimitiveID"
288: String "outStream.Normal"
293: String "outStream.Color"
298: String "outStream.ViewVec"
303: String "outStream.LightVec"
93: String "int"
99: String "i"
116: String "bool"
121: String "output"
147: String "projection"
151: String "modelview"
155: String "lightPos"
159: String "UBO"
162: String "ubo"
198: String "pos"
207: String "worldPos"
218: String "lPos"
266: String "outStream.Pos"
275: String "outStream.ViewportIndex"
280: String "outStream.PrimitiveID"
287: String "outStream.Normal"
292: String "outStream.Color"
297: String "outStream.ViewVec"
302: String "outStream.LightVec"
Name 6 "main"
Name 23 "VSOutput"
MemberName 23(VSOutput) 0 "Pos"
@ -73,63 +73,63 @@ spv.debuginfo.hlsl.geom
Name 68 "outStream"
Name 69 "InvocationID"
Name 70 "PrimitiveID"
Name 100 "i"
Name 123 "output"
Name 146 "UBO"
MemberName 146(UBO) 0 "projection"
MemberName 146(UBO) 1 "modelview"
MemberName 146(UBO) 2 "lightPos"
Name 161 "ubo"
MemberName 161(ubo) 0 "ubo"
Name 168 ""
Name 199 "pos"
Name 208 "worldPos"
Name 219 "lPos"
Name 267 "outStream.Pos"
Name 274 "outStream.ViewportIndex"
Name 279 "outStream.PrimitiveID"
Name 286 "outStream.Normal"
Name 291 "outStream.Color"
Name 296 "outStream.ViewVec"
Name 301 "outStream.LightVec"
Name 313 "input"
Name 316 "input.Pos"
Name 323 "input.Normal"
Name 328 "input.Color"
Name 350 "InvocationID"
Name 352 "InvocationID"
Name 97 "i"
Name 119 "output"
Name 145 "UBO"
MemberName 145(UBO) 0 "projection"
MemberName 145(UBO) 1 "modelview"
MemberName 145(UBO) 2 "lightPos"
Name 160 "ubo"
MemberName 160(ubo) 0 "ubo"
Name 167 ""
Name 196 "pos"
Name 205 "worldPos"
Name 216 "lPos"
Name 264 "outStream.Pos"
Name 273 "outStream.ViewportIndex"
Name 278 "outStream.PrimitiveID"
Name 285 "outStream.Normal"
Name 290 "outStream.Color"
Name 295 "outStream.ViewVec"
Name 300 "outStream.LightVec"
Name 312 "input"
Name 315 "input.Pos"
Name 322 "input.Normal"
Name 327 "input.Color"
Name 349 "InvocationID"
Name 351 "InvocationID"
Name 353 "PrimitiveID"
Name 354 "PrimitiveID"
Name 355 "PrimitiveID"
Name 357 "outStream"
Name 358 "param"
Name 356 "outStream"
Name 357 "param"
Name 359 "param"
Name 360 "param"
Name 361 "param"
Name 363 "param"
Decorate 142 ArrayStride 64
Decorate 144 ArrayStride 64
MemberDecorate 146(UBO) 0 RowMajor
MemberDecorate 146(UBO) 0 Offset 0
MemberDecorate 146(UBO) 0 MatrixStride 16
MemberDecorate 146(UBO) 1 RowMajor
MemberDecorate 146(UBO) 1 Offset 128
MemberDecorate 146(UBO) 1 MatrixStride 16
MemberDecorate 146(UBO) 2 Offset 256
MemberDecorate 161(ubo) 0 Offset 0
Decorate 161(ubo) Block
Decorate 168 DescriptorSet 0
Decorate 168 Binding 0
Decorate 267(outStream.Pos) BuiltIn Position
Decorate 274(outStream.ViewportIndex) BuiltIn ViewportIndex
Decorate 279(outStream.PrimitiveID) BuiltIn PrimitiveId
Decorate 286(outStream.Normal) Location 0
Decorate 291(outStream.Color) Location 1
Decorate 296(outStream.ViewVec) Location 2
Decorate 301(outStream.LightVec) Location 3
Decorate 316(input.Pos) BuiltIn Position
Decorate 323(input.Normal) Location 0
Decorate 328(input.Color) Location 1
Decorate 352(InvocationID) BuiltIn InvocationId
Decorate 355(PrimitiveID) BuiltIn PrimitiveId
Name 362 "param"
Decorate 141 ArrayStride 64
Decorate 143 ArrayStride 64
MemberDecorate 145(UBO) 0 RowMajor
MemberDecorate 145(UBO) 0 Offset 0
MemberDecorate 145(UBO) 0 MatrixStride 16
MemberDecorate 145(UBO) 1 RowMajor
MemberDecorate 145(UBO) 1 Offset 128
MemberDecorate 145(UBO) 1 MatrixStride 16
MemberDecorate 145(UBO) 2 Offset 256
MemberDecorate 160(ubo) 0 Offset 0
Decorate 160(ubo) Block
Decorate 167 DescriptorSet 0
Decorate 167 Binding 0
Decorate 264(outStream.Pos) BuiltIn Position
Decorate 273(outStream.ViewportIndex) BuiltIn ViewportIndex
Decorate 278(outStream.PrimitiveID) BuiltIn PrimitiveId
Decorate 285(outStream.Normal) Location 0
Decorate 290(outStream.Color) Location 1
Decorate 295(outStream.ViewVec) Location 2
Decorate 300(outStream.LightVec) Location 3
Decorate 315(input.Pos) BuiltIn Position
Decorate 322(input.Normal) Location 0
Decorate 327(input.Color) Location 1
Decorate 351(InvocationID) BuiltIn InvocationId
Decorate 354(PrimitiveID) BuiltIn PrimitiveId
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@ -137,377 +137,373 @@ spv.debuginfo.hlsl.geom
14: 11(int) Constant 32
15: 11(int) Constant 6
16: 11(int) Constant 0
13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16
13: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16
17: 11(int) Constant 3
10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16
10: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16
18: TypeVector 8(float) 4
19: 11(int) Constant 4
20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 19
20: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 19
21: TypeVector 8(float) 3
22: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
22: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
23(VSOutput): TypeStruct 18(fvec4) 21(fvec3) 21(fvec3)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 27
26: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 27
28: 11(int) Constant 37
29: 11(int) Constant 13
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 28 29 16 16 17
24: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 28 29 16 16 17
32: 11(int) Constant 39
33: 11(int) Constant 34
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
37: 11(int) Constant 1
39: 11(int) Constant 5
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 39
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 16 16 38 36 16 17 24 30 34
38: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 39
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 16 16 38 36 16 17 24 30 34
40: TypeArray 23(VSOutput) 17
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
42: TypePointer Function 40
43: 11(int) Constant 7
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 41 43 16
44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 41 43 16
45(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
47: 11(int) Constant 44
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 47 29 16 16 17
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 47 29 16 16 17
50: 11(int) Constant 46
51: 11(int) Constant 19
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
55: 11(int) Constant 50
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 37 26 16 16 38 60 16 17 46 48 52 53 56 57 58
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
56: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 37 26 16 16 38 60 16 17 46 48 52 53 56 57 58
61: TypePointer Function 45(GSOutput)
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16
63: TypePointer Function 11(int)
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16
64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16
65: TypeFunction 4 42(ptr) 61(ptr) 63(ptr) 63(ptr)
66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13
66: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13
75: 11(int) Constant 56
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 41 26 75 16 74 19 37
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 41 26 75 16 74 19 37
79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
84: 11(int) Constant 2
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19
94: 11(int) Constant 57
95: TypeInt 32 1
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 96 14 19 16
98: TypePointer Function 95(int)
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 97 43 16
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 102 97 26 94 16 74 19
104: 95(int) Constant 0
115: 95(int) Constant 3
116: TypeBool
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 117 14 84 16
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17
89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19
92: TypeInt 32 1
94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 14 19 16
95: TypePointer Function 92(int)
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 43 16
100: 11(int) Constant 57
98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 94 26 100 16 74 19
103: 92(int) Constant 0
114: 92(int) Constant 3
115: TypeBool
117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 116 14 84 16
122: 11(int) Constant 59
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 125 59 26 122 16 74 19
127: 8(float) Constant 0
128: 18(fvec4) ConstantComposite 127 127 127 127
129: 21(fvec3) ConstantComposite 127 127 127
130:45(GSOutput) ConstantComposite 128 16 16 129 129 129 129
120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 59 26 122 16 74 19
126: 8(float) Constant 0
127: 18(fvec4) ConstantComposite 126 126 126 126
128: 21(fvec3) ConstantComposite 126 126 126
129:45(GSOutput) ConstantComposite 127 16 16 128 128 128 128
132: 11(int) Constant 60
134: 95(int) Constant 1
135: TypePointer Function 21(fvec3)
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 43 16
139: TypeMatrix 18(fvec4) 4
141: 116(bool) ConstantTrue
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 141
142: TypeArray 139 84
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84
144: TypeArray 139 84
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84
146(UBO): TypeStruct 142 144 18(fvec4)
149: 11(int) Constant 28
150: 11(int) Constant 21
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 143 26 149 150 16 16 17
153: 11(int) Constant 29
154: 11(int) Constant 20
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 145 26 153 154 16 16 17
157: 11(int) Constant 30
158: 11(int) Constant 17
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 20 26 157 158 16 16 17
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 37 26 132 16 38 160 16 17 147 151 155
161(ubo): TypeStruct 146(UBO)
164: 11(int) Constant 33
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 163 159 26 164 28 16 16 17
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 37 26 132 16 38 163 16 17 162
166: TypePointer Uniform 161(ubo)
167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 165 84 16
168: 166(ptr) Variable Uniform
170: 11(int) Constant 8
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 165 26 132 16 38 1 168 170
172: TypePointer Uniform 139
173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 140 84 16
176: TypeMatrix 21(fvec3) 3
177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 141
188: 11(int) Constant 61
189: 95(int) Constant 4
191: 95(int) Constant 2
196: 11(int) Constant 63
197: TypePointer Function 18(fvec4)
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 43 16
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 196 16 74 19
207: 11(int) Constant 64
209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 210 20 26 207 16 74 19
218: 11(int) Constant 66
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 221 22 26 218 16 74 19
223: TypePointer Uniform 18(fvec4)
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16
233: 11(int) Constant 67
234: 95(int) Constant 6
241: 11(int) Constant 68
242: 95(int) Constant 5
133: 92(int) Constant 1
134: TypePointer Function 21(fvec3)
135: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 43 16
138: TypeMatrix 18(fvec4) 4
140: 115(bool) ConstantTrue
139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 140
141: TypeArray 138 84
142: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 139 84
143: TypeArray 138 84
144: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 139 84
145(UBO): TypeStruct 141 143 18(fvec4)
148: 11(int) Constant 28
149: 11(int) Constant 21
146: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 142 26 148 149 16 16 17
152: 11(int) Constant 29
153: 11(int) Constant 20
150: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 151 144 26 152 153 16 16 17
156: 11(int) Constant 30
157: 11(int) Constant 17
154: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 20 26 156 157 16 16 17
158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 159 37 26 132 16 38 159 16 17 146 150 154
160(ubo): TypeStruct 145(UBO)
163: 11(int) Constant 33
161: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 158 26 163 28 16 16 17
164: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 37 26 132 16 38 162 16 17 161
165: TypePointer Uniform 160(ubo)
166: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 84 16
167: 165(ptr) Variable Uniform
169: 11(int) Constant 8
168: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 164 26 132 16 38 2 167 169
171: TypePointer Uniform 138
172: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 84 16
175: TypeMatrix 21(fvec3) 3
176: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 140
186: 92(int) Constant 4
189: 11(int) Constant 61
190: 92(int) Constant 2
194: TypePointer Function 18(fvec4)
195: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 43 16
199: 11(int) Constant 63
197: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 198 20 26 199 16 74 19
208: 11(int) Constant 64
206: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 20 26 208 16 74 19
219: 11(int) Constant 66
217: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 218 22 26 219 16 74 19
222: TypePointer Uniform 18(fvec4)
223: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16
231: 92(int) Constant 6
234: 11(int) Constant 67
239: 92(int) Constant 5
242: 11(int) Constant 68
248: 11(int) Constant 70
256: 11(int) Constant 73
260: 11(int) Constant 74
264: 11(int) Constant 75
265: TypePointer Output 18(fvec4)
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16
267(outStream.Pos): 265(ptr) Variable Output
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 20 26 264 16 38 269 267(outStream.Pos) 170
272: TypePointer Output 11(int)
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16
274(outStream.ViewportIndex): 272(ptr) Variable Output
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 276 13 26 264 16 38 276 274(outStream.ViewportIndex) 170
279(outStream.PrimitiveID): 272(ptr) Variable Output
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 281 13 26 264 16 38 281 279(outStream.PrimitiveID) 170
284: TypePointer Output 21(fvec3)
285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16
286(outStream.Normal): 284(ptr) Variable Output
287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 288 22 26 264 16 38 288 286(outStream.Normal) 170
291(outStream.Color): 284(ptr) Variable Output
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 293 22 26 264 16 38 293 291(outStream.Color) 170
296(outStream.ViewVec): 284(ptr) Variable Output
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 298 22 26 264 16 38 298 296(outStream.ViewVec) 170
301(outStream.LightVec): 284(ptr) Variable Output
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 303 22 26 264 16 38 303 301(outStream.LightVec) 170
312: 11(int) Constant 78
314: TypeArray 18(fvec4) 17
315: TypePointer Input 314
316(input.Pos): 315(ptr) Variable Input
317: TypePointer Input 18(fvec4)
321: TypeArray 21(fvec3) 17
322: TypePointer Input 321
323(input.Normal): 322(ptr) Variable Input
324: TypePointer Input 21(fvec3)
328(input.Color): 322(ptr) Variable Input
351: TypePointer Input 11(int)
352(InvocationID): 351(ptr) Variable Input
355(PrimitiveID): 351(ptr) Variable Input
Line 1 56 1
262: TypePointer Output 18(fvec4)
263: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16
264(outStream.Pos): 262(ptr) Variable Output
267: 11(int) Constant 75
265: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 266 20 26 267 16 38 266 264(outStream.Pos) 169
271: TypePointer Output 11(int)
272: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16
273(outStream.ViewportIndex): 271(ptr) Variable Output
274: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 13 26 267 16 38 275 273(outStream.ViewportIndex) 169
278(outStream.PrimitiveID): 271(ptr) Variable Output
279: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 13 26 267 16 38 280 278(outStream.PrimitiveID) 169
283: TypePointer Output 21(fvec3)
284: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16
285(outStream.Normal): 283(ptr) Variable Output
286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 22 26 267 16 38 287 285(outStream.Normal) 169
290(outStream.Color): 283(ptr) Variable Output
291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 22 26 267 16 38 292 290(outStream.Color) 169
295(outStream.ViewVec): 283(ptr) Variable Output
296: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 22 26 267 16 38 297 295(outStream.ViewVec) 169
300(outStream.LightVec): 283(ptr) Variable Output
301: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 302 22 26 267 16 38 302 300(outStream.LightVec) 169
311: 11(int) Constant 78
313: TypeArray 18(fvec4) 17
314: TypePointer Input 313
315(input.Pos): 314(ptr) Variable Input
316: TypePointer Input 18(fvec4)
320: TypeArray 21(fvec3) 17
321: TypePointer Input 320
322(input.Normal): 321(ptr) Variable Input
323: TypePointer Input 21(fvec3)
327(input.Color): 321(ptr) Variable Input
350: TypePointer Input 11(int)
351(InvocationID): 350(ptr) Variable Input
354(PrimitiveID): 350(ptr) Variable Input
6(main): 4 Function None 5
7: Label
313(input): 42(ptr) Variable Function
350(InvocationID): 63(ptr) Variable Function
354(PrimitiveID): 63(ptr) Variable Function
357(outStream): 61(ptr) Variable Function
358(param): 42(ptr) Variable Function
360(param): 61(ptr) Variable Function
361(param): 63(ptr) Variable Function
363(param): 63(ptr) Variable Function
Line 1 56 0
318: 317(ptr) AccessChain 316(input.Pos) 104
319: 18(fvec4) Load 318
320: 197(ptr) AccessChain 313(input) 104 104
Store 320 319
325: 324(ptr) AccessChain 323(input.Normal) 104
326: 21(fvec3) Load 325
327: 135(ptr) AccessChain 313(input) 104 134
Store 327 326
329: 324(ptr) AccessChain 328(input.Color) 104
330: 21(fvec3) Load 329
331: 135(ptr) AccessChain 313(input) 104 191
Store 331 330
332: 317(ptr) AccessChain 316(input.Pos) 134
333: 18(fvec4) Load 332
334: 197(ptr) AccessChain 313(input) 134 104
Store 334 333
335: 324(ptr) AccessChain 323(input.Normal) 134
336: 21(fvec3) Load 335
337: 135(ptr) AccessChain 313(input) 134 134
Store 337 336
338: 324(ptr) AccessChain 328(input.Color) 134
339: 21(fvec3) Load 338
340: 135(ptr) AccessChain 313(input) 134 191
Store 340 339
341: 317(ptr) AccessChain 316(input.Pos) 191
342: 18(fvec4) Load 341
343: 197(ptr) AccessChain 313(input) 191 104
Store 343 342
344: 324(ptr) AccessChain 323(input.Normal) 191
345: 21(fvec3) Load 344
346: 135(ptr) AccessChain 313(input) 191 134
Store 346 345
347: 324(ptr) AccessChain 328(input.Color) 191
348: 21(fvec3) Load 347
349: 135(ptr) AccessChain 313(input) 191 191
Store 349 348
353: 11(int) Load 352(InvocationID)
Store 350(InvocationID) 353
356: 11(int) Load 355(PrimitiveID)
Store 354(PrimitiveID) 356
359: 40 Load 313(input)
Store 358(param) 359
362: 11(int) Load 350(InvocationID)
Store 361(param) 362
364: 11(int) Load 354(PrimitiveID)
Store 363(param) 364
365: 4 FunctionCall 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 358(param) 360(param) 361(param) 363(param)
366:45(GSOutput) Load 360(param)
Store 357(outStream) 366
312(input): 42(ptr) Variable Function
349(InvocationID): 63(ptr) Variable Function
353(PrimitiveID): 63(ptr) Variable Function
356(outStream): 61(ptr) Variable Function
357(param): 42(ptr) Variable Function
359(param): 61(ptr) Variable Function
360(param): 63(ptr) Variable Function
362(param): 63(ptr) Variable Function
317: 316(ptr) AccessChain 315(input.Pos) 103
318: 18(fvec4) Load 317
319: 194(ptr) AccessChain 312(input) 103 103
Store 319 318
324: 323(ptr) AccessChain 322(input.Normal) 103
325: 21(fvec3) Load 324
326: 134(ptr) AccessChain 312(input) 103 133
Store 326 325
328: 323(ptr) AccessChain 327(input.Color) 103
329: 21(fvec3) Load 328
330: 134(ptr) AccessChain 312(input) 103 190
Store 330 329
331: 316(ptr) AccessChain 315(input.Pos) 133
332: 18(fvec4) Load 331
333: 194(ptr) AccessChain 312(input) 133 103
Store 333 332
334: 323(ptr) AccessChain 322(input.Normal) 133
335: 21(fvec3) Load 334
336: 134(ptr) AccessChain 312(input) 133 133
Store 336 335
337: 323(ptr) AccessChain 327(input.Color) 133
338: 21(fvec3) Load 337
339: 134(ptr) AccessChain 312(input) 133 190
Store 339 338
340: 316(ptr) AccessChain 315(input.Pos) 190
341: 18(fvec4) Load 340
342: 194(ptr) AccessChain 312(input) 190 103
Store 342 341
343: 323(ptr) AccessChain 322(input.Normal) 190
344: 21(fvec3) Load 343
345: 134(ptr) AccessChain 312(input) 190 133
Store 345 344
346: 323(ptr) AccessChain 327(input.Color) 190
347: 21(fvec3) Load 346
348: 134(ptr) AccessChain 312(input) 190 190
Store 348 347
352: 11(int) Load 351(InvocationID)
Store 349(InvocationID) 352
355: 11(int) Load 354(PrimitiveID)
Store 353(PrimitiveID) 355
358: 40 Load 312(input)
Store 357(param) 358
361: 11(int) Load 349(InvocationID)
Store 360(param) 361
363: 11(int) Load 353(PrimitiveID)
Store 362(param) 363
364: 4 FunctionCall 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 357(param) 359(param) 360(param) 362(param)
365:45(GSOutput) Load 359(param)
Store 356(outStream) 365
Return
FunctionEnd
Line 1 56 1
71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 65
67(input): 42(ptr) FunctionParameter
68(outStream): 61(ptr) FunctionParameter
69(InvocationID): 63(ptr) FunctionParameter
70(PrimitiveID): 63(ptr) FunctionParameter
72: Label
100(i): 98(ptr) Variable Function
123(output): 61(ptr) Variable Function
199(pos): 197(ptr) Variable Function
208(worldPos): 197(ptr) Variable Function
219(lPos): 135(ptr) Variable Function
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 67(input) 81
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 81
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 81
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(PrimitiveID) 81
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 74 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 101 100(i) 81
Store 100(i) 104
Branch 105
105: Label
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
LoopMerge 107 108 None
Branch 111
111: Label
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
114: 95(int) Load 100(i)
119: 116(bool) SLessThan 114 115
BranchConditional 119 106 107
106: Label
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 124 123(output) 81
Store 123(output) 130
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16
133: 95(int) Load 100(i)
137: 135(ptr) AccessChain 67(input) 133 134
138: 21(fvec3) Load 137
171: 11(int) Load 69(InvocationID)
174: 172(ptr) AccessChain 168 104 134 171
175: 139 Load 174
178: 18(fvec4) CompositeExtract 175 0
179: 21(fvec3) VectorShuffle 178 178 0 1 2
180: 18(fvec4) CompositeExtract 175 1
181: 21(fvec3) VectorShuffle 180 180 0 1 2
182: 18(fvec4) CompositeExtract 175 2
183: 21(fvec3) VectorShuffle 182 182 0 1 2
184: 176 CompositeConstruct 179 181 183
185: 21(fvec3) VectorTimesMatrix 138 184
186: 135(ptr) AccessChain 123(output) 115
Store 186 185
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 188 188 16 16
190: 95(int) Load 100(i)
192: 135(ptr) AccessChain 67(input) 190 191
193: 21(fvec3) Load 192
194: 135(ptr) AccessChain 123(output) 189
Store 194 193
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 196 196 16 16
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(pos) 81
203: 95(int) Load 100(i)
204: 197(ptr) AccessChain 67(input) 203 104
205: 18(fvec4) Load 204
Store 199(pos) 205
206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 207 207 16 16
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 209 208(worldPos) 81
212: 18(fvec4) Load 199(pos)
213: 11(int) Load 69(InvocationID)
214: 172(ptr) AccessChain 168 104 134 213
215: 139 Load 214
216: 18(fvec4) VectorTimesMatrix 212 215
Store 208(worldPos) 216
217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 218 218 16 16
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 220 219(lPos) 81
225: 223(ptr) AccessChain 168 104 191
226: 18(fvec4) Load 225
227: 11(int) Load 69(InvocationID)
228: 172(ptr) AccessChain 168 104 134 227
229: 139 Load 228
230: 18(fvec4) VectorTimesMatrix 226 229
231: 21(fvec3) VectorShuffle 230 230 0 1 2
Store 219(lPos) 231
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 233 233 16 16
235: 21(fvec3) Load 219(lPos)
236: 18(fvec4) Load 208(worldPos)
237: 21(fvec3) VectorShuffle 236 236 0 1 2
238: 21(fvec3) FSub 235 237
239: 135(ptr) AccessChain 123(output) 234
Store 239 238
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 241 241 16 16
243: 18(fvec4) Load 208(worldPos)
244: 21(fvec3) VectorShuffle 243 243 0 1 2
245: 21(fvec3) FNegate 244
246: 135(ptr) AccessChain 123(output) 242
Store 246 245
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16
249: 18(fvec4) Load 208(worldPos)
250: 11(int) Load 69(InvocationID)
251: 172(ptr) AccessChain 168 104 104 250
252: 139 Load 251
253: 18(fvec4) VectorTimesMatrix 249 252
254: 197(ptr) AccessChain 123(output) 104
Store 254 253
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16
257: 11(int) Load 69(InvocationID)
258: 63(ptr) AccessChain 123(output) 134
Store 258 257
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16
261: 11(int) Load 70(PrimitiveID)
262: 63(ptr) AccessChain 123(output) 191
Store 262 261
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 264 264 16 16
270: 197(ptr) AccessChain 123(output) 104
271: 18(fvec4) Load 270
Store 267(outStream.Pos) 271
277: 63(ptr) AccessChain 123(output) 134
278: 11(int) Load 277
Store 274(outStream.ViewportIndex) 278
282: 63(ptr) AccessChain 123(output) 191
283: 11(int) Load 282
Store 279(outStream.PrimitiveID) 283
289: 135(ptr) AccessChain 123(output) 115
290: 21(fvec3) Load 289
Store 286(outStream.Normal) 290
294: 135(ptr) AccessChain 123(output) 189
295: 21(fvec3) Load 294
Store 291(outStream.Color) 295
299: 135(ptr) AccessChain 123(output) 242
300: 21(fvec3) Load 299
Store 296(outStream.ViewVec) 300
304: 135(ptr) AccessChain 123(output) 234
305: 21(fvec3) Load 304
Store 301(outStream.LightVec) 305
97(i): 95(ptr) Variable Function
119(output): 61(ptr) Variable Function
196(pos): 194(ptr) Variable Function
205(worldPos): 194(ptr) Variable Function
216(lPos): 134(ptr) Variable Function
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16
78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 67(input) 79
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 79
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 79
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(PrimitiveID) 79
91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 74 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
101: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 97(i) 79
Store 97(i) 103
Branch 104
104: Label
108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
109: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
LoopMerge 106 107 None
Branch 110
110: Label
112: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
113: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
111: 92(int) Load 97(i)
118: 115(bool) SLessThan 111 114
BranchConditional 118 105 106
105: Label
124: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
125: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16
123: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(output) 79
Store 119(output) 129
131: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16
130: 92(int) Load 97(i)
136: 134(ptr) AccessChain 67(input) 130 133
137: 21(fvec3) Load 136
170: 11(int) Load 69(InvocationID)
173: 171(ptr) AccessChain 167 103 133 170
174: 138 Load 173
177: 18(fvec4) CompositeExtract 174 0
178: 21(fvec3) VectorShuffle 177 177 0 1 2
179: 18(fvec4) CompositeExtract 174 1
180: 21(fvec3) VectorShuffle 179 179 0 1 2
181: 18(fvec4) CompositeExtract 174 2
182: 21(fvec3) VectorShuffle 181 181 0 1 2
183: 175 CompositeConstruct 178 180 182
184: 21(fvec3) VectorTimesMatrix 137 183
185: 134(ptr) AccessChain 119(output) 114
Store 185 184
188: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 189 189 16 16
187: 92(int) Load 97(i)
191: 134(ptr) AccessChain 67(input) 187 190
192: 21(fvec3) Load 191
193: 134(ptr) AccessChain 119(output) 186
Store 193 192
201: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 199 199 16 16
200: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 197 196(pos) 79
202: 92(int) Load 97(i)
203: 194(ptr) AccessChain 67(input) 202 103
204: 18(fvec4) Load 203
Store 196(pos) 204
210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 208 208 16 16
209: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(worldPos) 79
211: 18(fvec4) Load 196(pos)
212: 11(int) Load 69(InvocationID)
213: 171(ptr) AccessChain 167 103 133 212
214: 138 Load 213
215: 18(fvec4) VectorTimesMatrix 211 214
Store 205(worldPos) 215
221: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 219 219 16 16
220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 217 216(lPos) 79
224: 222(ptr) AccessChain 167 103 190
225: 18(fvec4) Load 224
226: 11(int) Load 69(InvocationID)
227: 171(ptr) AccessChain 167 103 133 226
228: 138 Load 227
229: 18(fvec4) VectorTimesMatrix 225 228
230: 21(fvec3) VectorShuffle 229 229 0 1 2
Store 216(lPos) 230
233: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 234 234 16 16
232: 21(fvec3) Load 216(lPos)
235: 18(fvec4) Load 205(worldPos)
236: 21(fvec3) VectorShuffle 235 235 0 1 2
237: 21(fvec3) FSub 232 236
238: 134(ptr) AccessChain 119(output) 231
Store 238 237
241: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 242 242 16 16
240: 18(fvec4) Load 205(worldPos)
243: 21(fvec3) VectorShuffle 240 240 0 1 2
244: 21(fvec3) FNegate 243
245: 134(ptr) AccessChain 119(output) 239
Store 245 244
247: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16
246: 18(fvec4) Load 205(worldPos)
249: 11(int) Load 69(InvocationID)
250: 171(ptr) AccessChain 167 103 103 249
251: 138 Load 250
252: 18(fvec4) VectorTimesMatrix 246 251
253: 194(ptr) AccessChain 119(output) 103
Store 253 252
255: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16
254: 11(int) Load 69(InvocationID)
257: 63(ptr) AccessChain 119(output) 133
Store 257 254
259: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16
258: 11(int) Load 70(PrimitiveID)
261: 63(ptr) AccessChain 119(output) 190
Store 261 258
269: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 267 267 16 16
268: 194(ptr) AccessChain 119(output) 103
270: 18(fvec4) Load 268
Store 264(outStream.Pos) 270
276: 63(ptr) AccessChain 119(output) 133
277: 11(int) Load 276
Store 273(outStream.ViewportIndex) 277
281: 63(ptr) AccessChain 119(output) 190
282: 11(int) Load 281
Store 278(outStream.PrimitiveID) 282
288: 134(ptr) AccessChain 119(output) 114
289: 21(fvec3) Load 288
Store 285(outStream.Normal) 289
293: 134(ptr) AccessChain 119(output) 186
294: 21(fvec3) Load 293
Store 290(outStream.Color) 294
298: 134(ptr) AccessChain 119(output) 239
299: 21(fvec3) Load 298
Store 295(outStream.ViewVec) 299
303: 134(ptr) AccessChain 119(output) 231
304: 21(fvec3) Load 303
Store 300(outStream.LightVec) 304
EmitVertex
Branch 108
108: Label
306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
308: 95(int) Load 100(i)
309: 95(int) IAdd 308 134
Store 100(i) 309
Branch 105
107: Label
310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 312 312 16 16
Branch 107
107: Label
306: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
307: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
305: 92(int) Load 97(i)
308: 92(int) IAdd 305 133
Store 97(i) 308
Branch 104
106: Label
309: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
310: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 311 311 16 16
EndPrimitive
Return
FunctionEnd

File diff suppressed because it is too large Load diff

View file

@ -5,12 +5,12 @@ spv.debuginfo.hlsl.tese
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 6 "main" 368 383 392 401 408 414 454 458 462 465 468 471 474
ExecutionMode 6 Quads
1: String ""
2: String ""
9: String "float"
12: String "uint"
26: String "TessLevelOuter"
@ -32,34 +32,34 @@ spv.debuginfo.hlsl.tese
71: String "WorldPos"
81: String "DSOutput"
89: String "@main"
95: String "input"
93: String "input"
99: String "TessCoord"
102: String "patch"
112: String "output"
123: String "uv1"
126: String "int"
143: String "uv2"
167: String "n1"
179: String "n2"
202: String "pos1"
214: String "pos2"
226: String "pos"
238: String "type.2d.image"
239: String "@type.2d.image"
245: String "displacementMapTexture"
250: String "type.sampler"
251: String "@type.sampler"
256: String "displacementMapSampler"
260: String "type.sampled.image"
261: String "@type.sampled.image"
270: String "bool"
277: String "modelview"
282: String "lightPos"
286: String "frustumPlanes"
289: String "tessellatedEdgeSize"
293: String "viewportDim"
297: String "UBO"
300: String "ubo"
109: String "output"
120: String "uv1"
125: String "int"
140: String "uv2"
164: String "n1"
176: String "n2"
199: String "pos1"
211: String "pos2"
223: String "pos"
235: String "type.2d.image"
237: String "@type.2d.image"
243: String "displacementMapTexture"
249: String "type.sampler"
250: String "@type.sampler"
255: String "displacementMapSampler"
259: String "type.sampled.image"
260: String "@type.sampled.image"
269: String "bool"
276: String "modelview"
281: String "lightPos"
285: String "frustumPlanes"
288: String "tessellatedEdgeSize"
292: String "viewportDim"
296: String "UBO"
299: String "ubo"
Name 6 "main"
Name 24 "ConstantsHSOutput"
MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter"
@ -80,28 +80,28 @@ spv.debuginfo.hlsl.tese
Name 84 "input"
Name 85 "TessCoord"
Name 86 "patch"
Name 110 "output"
Name 121 "uv1"
Name 141 "uv2"
Name 165 "n1"
Name 177 "n2"
Name 200 "pos1"
Name 212 "pos2"
Name 224 "pos"
Name 243 "displacementMapTexture"
Name 254 "displacementMapSampler"
Name 275 "UBO"
MemberName 275(UBO) 0 "projection"
MemberName 275(UBO) 1 "modelview"
MemberName 275(UBO) 2 "lightPos"
MemberName 275(UBO) 3 "frustumPlanes"
MemberName 275(UBO) 4 "displacementFactor"
MemberName 275(UBO) 5 "tessellationFactor"
MemberName 275(UBO) 6 "viewportDim"
MemberName 275(UBO) 7 "tessellatedEdgeSize"
Name 298 "ubo"
MemberName 298(ubo) 0 "ubo"
Name 304 ""
Name 107 "output"
Name 118 "uv1"
Name 138 "uv2"
Name 162 "n1"
Name 174 "n2"
Name 197 "pos1"
Name 209 "pos2"
Name 221 "pos"
Name 241 "displacementMapTexture"
Name 253 "displacementMapSampler"
Name 274 "UBO"
MemberName 274(UBO) 0 "projection"
MemberName 274(UBO) 1 "modelview"
MemberName 274(UBO) 2 "lightPos"
MemberName 274(UBO) 3 "frustumPlanes"
MemberName 274(UBO) 4 "displacementFactor"
MemberName 274(UBO) 5 "tessellationFactor"
MemberName 274(UBO) 6 "viewportDim"
MemberName 274(UBO) 7 "tessellatedEdgeSize"
Name 297 "ubo"
MemberName 297(ubo) 0 "ubo"
Name 303 ""
Name 366 "input"
Name 368 "input.TessLevelOuter"
Name 383 "input.TessLevelInner"
@ -121,27 +121,27 @@ spv.debuginfo.hlsl.tese
Name 468 "@entryPointOutput.LightVec"
Name 471 "@entryPointOutput.EyePos"
Name 474 "@entryPointOutput.WorldPos"
Decorate 243(displacementMapTexture) DescriptorSet 0
Decorate 243(displacementMapTexture) Binding 1
Decorate 254(displacementMapSampler) DescriptorSet 0
Decorate 254(displacementMapSampler) Binding 1
Decorate 273 ArrayStride 16
MemberDecorate 275(UBO) 0 RowMajor
MemberDecorate 275(UBO) 0 Offset 0
MemberDecorate 275(UBO) 0 MatrixStride 16
MemberDecorate 275(UBO) 1 RowMajor
MemberDecorate 275(UBO) 1 Offset 64
MemberDecorate 275(UBO) 1 MatrixStride 16
MemberDecorate 275(UBO) 2 Offset 128
MemberDecorate 275(UBO) 3 Offset 144
MemberDecorate 275(UBO) 4 Offset 240
MemberDecorate 275(UBO) 5 Offset 244
MemberDecorate 275(UBO) 6 Offset 248
MemberDecorate 275(UBO) 7 Offset 256
MemberDecorate 298(ubo) 0 Offset 0
Decorate 298(ubo) Block
Decorate 304 DescriptorSet 0
Decorate 304 Binding 0
Decorate 241(displacementMapTexture) DescriptorSet 0
Decorate 241(displacementMapTexture) Binding 1
Decorate 253(displacementMapSampler) DescriptorSet 0
Decorate 253(displacementMapSampler) Binding 1
Decorate 272 ArrayStride 16
MemberDecorate 274(UBO) 0 RowMajor
MemberDecorate 274(UBO) 0 Offset 0
MemberDecorate 274(UBO) 0 MatrixStride 16
MemberDecorate 274(UBO) 1 RowMajor
MemberDecorate 274(UBO) 1 Offset 64
MemberDecorate 274(UBO) 1 MatrixStride 16
MemberDecorate 274(UBO) 2 Offset 128
MemberDecorate 274(UBO) 3 Offset 144
MemberDecorate 274(UBO) 4 Offset 240
MemberDecorate 274(UBO) 5 Offset 244
MemberDecorate 274(UBO) 6 Offset 248
MemberDecorate 274(UBO) 7 Offset 256
MemberDecorate 297(ubo) 0 Offset 0
Decorate 297(ubo) Block
Decorate 303 DescriptorSet 0
Decorate 303 Binding 0
Decorate 368(input.TessLevelOuter) Patch
Decorate 368(input.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 383(input.TessLevelInner) Patch
@ -165,170 +165,170 @@ spv.debuginfo.hlsl.tese
14: 11(int) Constant 32
15: 11(int) Constant 6
16: 11(int) Constant 0
13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16
13: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16
17: 11(int) Constant 3
10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16
10: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16
18: 11(int) Constant 4
19: TypeArray 8(float) 18
20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 18
20: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 18
21: 11(int) Constant 2
22: TypeArray 8(float) 21
23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 21
23: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 21
24(ConstantsHSOutput): TypeStruct 19 22
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 28
27: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 28
29: 11(int) Constant 51
30: 11(int) Constant 25
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 26 20 27 29 30 16 16 17
25: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 26 20 27 29 30 16 16 17
33: 11(int) Constant 52
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 32 23 27 33 30 16 16 17
31: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 32 23 27 33 30 16 16 17
36: 11(int) Constant 1
38: 11(int) Constant 5
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 18 27 38
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 36 27 16 16 37 35 16 17 25 31
37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 18 27 38
34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 36 27 16 16 37 35 16 17 25 31
39: TypePointer Function 24(ConstantsHSOutput)
40: 11(int) Constant 7
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 34 40 16
41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 34 40 16
42: TypeVector 8(float) 2
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21
43: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21
44: TypePointer Function 42(fvec2)
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 40 16
45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 40 16
46: TypeVector 8(float) 4
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 18
47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 18
48: TypeVector 8(float) 3
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
49: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
50(HSOutput): TypeStruct 46(fvec4) 48(fvec3) 42(fvec2)
53: 11(int) Constant 44
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 47 27 53 14 16 16 17
51: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 47 27 53 14 16 16 17
56: 11(int) Constant 45
57: 11(int) Constant 35
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 49 27 56 57 16 16 17
54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 49 27 56 57 16 16 17
60: 11(int) Constant 46
61: 11(int) Constant 31
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 59 43 27 60 61 16 16 17
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 63 36 27 16 16 37 63 16 17 51 54 58
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 59 43 27 60 61 16 16 17
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 63 36 27 16 16 37 63 16 17 51 54 58
64: TypeArray 50(HSOutput) 18
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 62 18
65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 62 18
66(DSOutput): TypeStruct 46(fvec4) 48(fvec3) 42(fvec2) 48(fvec3) 48(fvec3) 48(fvec3) 48(fvec3)
68: 11(int) Constant 57
69: 11(int) Constant 13
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 47 27 68 69 16 16 17
67: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 47 27 68 69 16 16 17
72: 11(int) Constant 63
73: 11(int) Constant 37
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
75: 11(int) Constant 59
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 59 43 27 75 61 16 16 17
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 81 36 27 16 16 37 81 16 17 67 70 74 76 77 78 79
74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 59 43 27 75 61 16 16 17
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
77: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 81 36 27 16 16 37 81 16 17 67 70 74 76 77 78 79
82: TypeFunction 66(DSOutput) 39(ptr) 44(ptr) 64
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 80 34 43 62
83: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 80 34 43 62
91: 11(int) Constant 68
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 89 83 27 91 16 37 89 17 91
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 95 34 27 91 16 90 18 36
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 43 27 91 16 90 18 21
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 102 62 27 91 16 90 18 17
107: 11(int) Constant 70
108: TypePointer Function 66(DSOutput)
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 80 40 16
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 112 80 27 107 16 90 18
114: 8(float) Constant 0
115: 46(fvec4) ConstantComposite 114 114 114 114
116: 48(fvec3) ConstantComposite 114 114 114
117: 42(fvec2) ConstantComposite 114 114
118:66(DSOutput) ConstantComposite 115 116 117 116 116 116 116
120: 11(int) Constant 71
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 123 43 27 120 16 90 18
125: TypeInt 32 1
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 126 14 18 16
128: 125(int) Constant 0
129: 125(int) Constant 2
131: 125(int) Constant 1
133: TypePointer Function 8(float)
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 40 16
140: 11(int) Constant 72
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 143 43 27 140 16 90 18
145: 125(int) Constant 3
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 89 83 27 91 16 37 89 17 91
92: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 34 27 91 16 90 18 36
95: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 43 27 91 16 90 18 21
101: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 102 62 27 91 16 90 18 17
105: TypePointer Function 66(DSOutput)
106: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 80 40 16
110: 11(int) Constant 70
108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 109 80 27 110 16 90 18
113: 8(float) Constant 0
114: 46(fvec4) ConstantComposite 113 113 113 113
115: 48(fvec3) ConstantComposite 113 113 113
116: 42(fvec2) ConstantComposite 113 113
117:66(DSOutput) ConstantComposite 114 115 116 115 115 115 115
121: 11(int) Constant 71
119: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 43 27 121 16 90 18
124: TypeInt 32 1
126: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 125 14 18 16
127: 124(int) Constant 0
128: 124(int) Constant 2
130: 124(int) Constant 1
132: TypePointer Function 8(float)
133: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 40 16
141: 11(int) Constant 72
139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 140 43 27 141 16 90 18
144: 124(int) Constant 3
153: 11(int) Constant 73
162: 11(int) Constant 75
163: TypePointer Function 48(fvec3)
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 49 40 16
166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 167 49 27 162 16 90 18
176: 11(int) Constant 76
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 49 27 176 16 90 18
160: TypePointer Function 48(fvec3)
161: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 49 40 16
165: 11(int) Constant 75
163: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 164 49 27 165 16 90 18
177: 11(int) Constant 76
175: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 176 49 27 177 16 90 18
188: 11(int) Constant 77
197: 11(int) Constant 80
198: TypePointer Function 46(fvec4)
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 47 40 16
201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 202 47 27 197 16 90 18
211: 11(int) Constant 81
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 47 27 211 16 90 18
223: 11(int) Constant 82
225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 226 47 27 223 16 90 18
235: 11(int) Constant 84
236: TypeImage 8(float) 2D sampled format:Unknown
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 238 16 27 235 16 37 239 240 17
241: TypePointer UniformConstant 236
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 237 16 16
243(displacementMapTexture): 241(ptr) Variable UniformConstant
246: 11(int) Constant 8
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 245 237 27 235 16 37 245 243(displacementMapTexture) 246
248: TypeSampler
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 250 36 27 235 16 37 251 240 17
252: TypePointer UniformConstant 248
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 249 16 16
254(displacementMapSampler): 252(ptr) Variable UniformConstant
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 256 249 27 235 16 37 256 254(displacementMapSampler) 246
258: TypeSampledImage 236
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 260 16 27 235 16 37 261 240 17
267: TypeMatrix 46(fvec4) 4
269: TypeBool
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 270 14 21 16
272: 269(bool) ConstantTrue
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 47 18 272
273: TypeArray 46(fvec4) 15
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 47 15
275(UBO): TypeStruct 267 267 46(fvec4) 273 8(float) 8(float) 42(fvec2) 8(float)
278: 11(int) Constant 29
279: 11(int) Constant 20
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 268 27 278 279 16 16 17
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 268 27 278 279 16 16 17
283: 11(int) Constant 30
284: 11(int) Constant 17
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 282 47 27 283 284 16 16 17
287: 11(int) Constant 22
285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 286 274 27 61 287 16 16 17
290: 11(int) Constant 27
288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 10 27 57 290 16 16 17
291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 10 27 57 290 16 16 17
294: 11(int) Constant 34
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 293 43 27 294 279 16 16 17
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 10 27 57 290 16 16 17
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 297 36 27 235 16 37 297 16 17 276 280 281 285 288 291 292 295
298(ubo): TypeStruct 275(UBO)
299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 300 296 27 73 73 16 16 17
301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 300 36 27 235 16 37 300 16 17 299
302: TypePointer Uniform 298(ubo)
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 301 21 16
304: 302(ptr) Variable Uniform
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 301 27 235 16 37 1 304 246
306: 125(int) Constant 4
307: TypePointer Uniform 8(float)
308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16
195: TypePointer Function 46(fvec4)
196: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 47 40 16
200: 11(int) Constant 80
198: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 47 27 200 16 90 18
212: 11(int) Constant 81
210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 211 47 27 212 16 90 18
224: 11(int) Constant 82
222: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 223 47 27 224 16 90 18
233: TypeImage 8(float) 2D sampled format:Unknown
236: 11(int) Constant 84
238: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
234: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 235 16 27 236 16 37 237 238 17
239: TypePointer UniformConstant 233
240: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 234 16 16
241(displacementMapTexture): 239(ptr) Variable UniformConstant
244: 11(int) Constant 8
242: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 243 234 27 236 16 37 243 241(displacementMapTexture) 244
247: TypeSampler
248: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 249 36 27 236 16 37 250 238 17
251: TypePointer UniformConstant 247
252: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 248 16 16
253(displacementMapSampler): 251(ptr) Variable UniformConstant
254: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 255 248 27 236 16 37 255 253(displacementMapSampler) 244
257: TypeSampledImage 233
258: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 259 16 27 236 16 37 260 238 17
266: TypeMatrix 46(fvec4) 4
268: TypeBool
270: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 269 14 21 16
271: 268(bool) ConstantTrue
267: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 47 18 271
272: TypeArray 46(fvec4) 15
273: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 47 15
274(UBO): TypeStruct 266 266 46(fvec4) 272 8(float) 8(float) 42(fvec2) 8(float)
277: 11(int) Constant 29
278: 11(int) Constant 20
275: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 276 267 27 277 278 16 16 17
279: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 276 267 27 277 278 16 16 17
282: 11(int) Constant 30
283: 11(int) Constant 17
280: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 281 47 27 282 283 16 16 17
286: 11(int) Constant 22
284: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 285 273 27 61 286 16 16 17
289: 11(int) Constant 27
287: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 288 10 27 57 289 16 16 17
290: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 288 10 27 57 289 16 16 17
293: 11(int) Constant 34
291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 292 43 27 293 278 16 16 17
294: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 288 10 27 57 289 16 16 17
295: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 296 36 27 236 16 37 296 16 17 275 279 280 284 287 290 291 294
297(ubo): TypeStruct 274(UBO)
298: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 299 295 27 73 73 16 16 17
300: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 299 36 27 236 16 37 299 16 17 298
301: TypePointer Uniform 297(ubo)
302: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 300 21 16
303: 301(ptr) Variable Uniform
304: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 300 27 236 16 37 2 303 244
305: 124(int) Constant 4
306: TypePointer Uniform 8(float)
307: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16
317: 11(int) Constant 86
319: TypePointer Uniform 267
320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 268 21 16
318: TypePointer Uniform 266
319: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 267 21 16
329: 11(int) Constant 89
335: 11(int) Constant 90
336: TypePointer Uniform 46(fvec4)
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 47 21 16
347: 11(int) Constant 91
348: 125(int) Constant 6
353: 11(int) Constant 92
354: 125(int) Constant 5
333: TypePointer Uniform 46(fvec4)
334: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 47 21 16
337: 11(int) Constant 90
345: 124(int) Constant 6
348: 11(int) Constant 91
351: 124(int) Constant 5
354: 11(int) Constant 92
362: 11(int) Constant 93
367: TypePointer Input 19
368(input.TessLevelOuter): 367(ptr) Variable Input
@ -359,92 +359,90 @@ spv.debuginfo.hlsl.tese
468(@entryPointOutput.LightVec): 457(ptr) Variable Output
471(@entryPointOutput.EyePos): 457(ptr) Variable Output
474(@entryPointOutput.WorldPos): 457(ptr) Variable Output
Line 1 68 1
6(main): 4 Function None 5
7: Label
366(input): 39(ptr) Variable Function
390(TessCoord): 44(ptr) Variable Function
398(patch): 397(ptr) Variable Function
446(flattenTemp): 108(ptr) Variable Function
446(flattenTemp): 105(ptr) Variable Function
448(param): 39(ptr) Variable Function
450(param): 44(ptr) Variable Function
Line 1 68 0
370: 369(ptr) AccessChain 368(input.TessLevelOuter) 128
370: 369(ptr) AccessChain 368(input.TessLevelOuter) 127
371: 8(float) Load 370
372: 133(ptr) AccessChain 366(input) 128 128
372: 132(ptr) AccessChain 366(input) 127 127
Store 372 371
373: 369(ptr) AccessChain 368(input.TessLevelOuter) 131
373: 369(ptr) AccessChain 368(input.TessLevelOuter) 130
374: 8(float) Load 373
375: 133(ptr) AccessChain 366(input) 128 131
375: 132(ptr) AccessChain 366(input) 127 130
Store 375 374
376: 369(ptr) AccessChain 368(input.TessLevelOuter) 129
376: 369(ptr) AccessChain 368(input.TessLevelOuter) 128
377: 8(float) Load 376
378: 133(ptr) AccessChain 366(input) 128 129
378: 132(ptr) AccessChain 366(input) 127 128
Store 378 377
379: 369(ptr) AccessChain 368(input.TessLevelOuter) 145
379: 369(ptr) AccessChain 368(input.TessLevelOuter) 144
380: 8(float) Load 379
381: 133(ptr) AccessChain 366(input) 128 145
381: 132(ptr) AccessChain 366(input) 127 144
Store 381 380
384: 369(ptr) AccessChain 383(input.TessLevelInner) 128
384: 369(ptr) AccessChain 383(input.TessLevelInner) 127
385: 8(float) Load 384
386: 133(ptr) AccessChain 366(input) 131 128
386: 132(ptr) AccessChain 366(input) 130 127
Store 386 385
387: 369(ptr) AccessChain 383(input.TessLevelInner) 131
387: 369(ptr) AccessChain 383(input.TessLevelInner) 130
388: 8(float) Load 387
389: 133(ptr) AccessChain 366(input) 131 131
389: 132(ptr) AccessChain 366(input) 130 130
Store 389 388
393: 48(fvec3) Load 392(TessCoord)
394: 8(float) CompositeExtract 393 0
395: 8(float) CompositeExtract 393 1
396: 42(fvec2) CompositeConstruct 394 395
Store 390(TessCoord) 396
403: 402(ptr) AccessChain 401(patch.Pos) 128
403: 402(ptr) AccessChain 401(patch.Pos) 127
404: 46(fvec4) Load 403
405: 198(ptr) AccessChain 398(patch) 128 128
405: 195(ptr) AccessChain 398(patch) 127 127
Store 405 404
409: 391(ptr) AccessChain 408(patch.Normal) 128
409: 391(ptr) AccessChain 408(patch.Normal) 127
410: 48(fvec3) Load 409
411: 163(ptr) AccessChain 398(patch) 128 131
411: 160(ptr) AccessChain 398(patch) 127 130
Store 411 410
416: 415(ptr) AccessChain 414(patch.UV) 128
416: 415(ptr) AccessChain 414(patch.UV) 127
417: 42(fvec2) Load 416
418: 44(ptr) AccessChain 398(patch) 128 129
418: 44(ptr) AccessChain 398(patch) 127 128
Store 418 417
419: 402(ptr) AccessChain 401(patch.Pos) 131
419: 402(ptr) AccessChain 401(patch.Pos) 130
420: 46(fvec4) Load 419
421: 198(ptr) AccessChain 398(patch) 131 128
421: 195(ptr) AccessChain 398(patch) 130 127
Store 421 420
422: 391(ptr) AccessChain 408(patch.Normal) 131
422: 391(ptr) AccessChain 408(patch.Normal) 130
423: 48(fvec3) Load 422
424: 163(ptr) AccessChain 398(patch) 131 131
424: 160(ptr) AccessChain 398(patch) 130 130
Store 424 423
425: 415(ptr) AccessChain 414(patch.UV) 131
425: 415(ptr) AccessChain 414(patch.UV) 130
426: 42(fvec2) Load 425
427: 44(ptr) AccessChain 398(patch) 131 129
427: 44(ptr) AccessChain 398(patch) 130 128
Store 427 426
428: 402(ptr) AccessChain 401(patch.Pos) 129
428: 402(ptr) AccessChain 401(patch.Pos) 128
429: 46(fvec4) Load 428
430: 198(ptr) AccessChain 398(patch) 129 128
430: 195(ptr) AccessChain 398(patch) 128 127
Store 430 429
431: 391(ptr) AccessChain 408(patch.Normal) 129
431: 391(ptr) AccessChain 408(patch.Normal) 128
432: 48(fvec3) Load 431
433: 163(ptr) AccessChain 398(patch) 129 131
433: 160(ptr) AccessChain 398(patch) 128 130
Store 433 432
434: 415(ptr) AccessChain 414(patch.UV) 129
434: 415(ptr) AccessChain 414(patch.UV) 128
435: 42(fvec2) Load 434
436: 44(ptr) AccessChain 398(patch) 129 129
436: 44(ptr) AccessChain 398(patch) 128 128
Store 436 435
437: 402(ptr) AccessChain 401(patch.Pos) 145
437: 402(ptr) AccessChain 401(patch.Pos) 144
438: 46(fvec4) Load 437
439: 198(ptr) AccessChain 398(patch) 145 128
439: 195(ptr) AccessChain 398(patch) 144 127
Store 439 438
440: 391(ptr) AccessChain 408(patch.Normal) 145
440: 391(ptr) AccessChain 408(patch.Normal) 144
441: 48(fvec3) Load 440
442: 163(ptr) AccessChain 398(patch) 145 131
442: 160(ptr) AccessChain 398(patch) 144 130
Store 442 441
443: 415(ptr) AccessChain 414(patch.UV) 145
443: 415(ptr) AccessChain 414(patch.UV) 144
444: 42(fvec2) Load 443
445: 44(ptr) AccessChain 398(patch) 145 129
445: 44(ptr) AccessChain 398(patch) 144 128
Store 445 444
447: 64 Load 398(patch)
449:24(ConstantsHSOutput) Load 366(input)
@ -453,190 +451,188 @@ spv.debuginfo.hlsl.tese
Store 450(param) 451
452:66(DSOutput) FunctionCall 87(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 448(param) 450(param) 447
Store 446(flattenTemp) 452
455: 198(ptr) AccessChain 446(flattenTemp) 128
455: 195(ptr) AccessChain 446(flattenTemp) 127
456: 46(fvec4) Load 455
Store 454(@entryPointOutput.Pos) 456
459: 163(ptr) AccessChain 446(flattenTemp) 131
459: 160(ptr) AccessChain 446(flattenTemp) 130
460: 48(fvec3) Load 459
Store 458(@entryPointOutput.Normal) 460
463: 44(ptr) AccessChain 446(flattenTemp) 129
463: 44(ptr) AccessChain 446(flattenTemp) 128
464: 42(fvec2) Load 463
Store 462(@entryPointOutput.UV) 464
466: 163(ptr) AccessChain 446(flattenTemp) 145
466: 160(ptr) AccessChain 446(flattenTemp) 144
467: 48(fvec3) Load 466
Store 465(@entryPointOutput.ViewVec) 467
469: 163(ptr) AccessChain 446(flattenTemp) 306
469: 160(ptr) AccessChain 446(flattenTemp) 305
470: 48(fvec3) Load 469
Store 468(@entryPointOutput.LightVec) 470
472: 163(ptr) AccessChain 446(flattenTemp) 354
472: 160(ptr) AccessChain 446(flattenTemp) 351
473: 48(fvec3) Load 472
Store 471(@entryPointOutput.EyePos) 473
475: 163(ptr) AccessChain 446(flattenTemp) 348
475: 160(ptr) AccessChain 446(flattenTemp) 345
476: 48(fvec3) Load 475
Store 474(@entryPointOutput.WorldPos) 476
Return
FunctionEnd
Line 1 68 1
87(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];):66(DSOutput) Function None 82
84(input): 39(ptr) FunctionParameter
85(TessCoord): 44(ptr) FunctionParameter
86(patch): 64 FunctionParameter
88: Label
110(output): 108(ptr) Variable Function
121(uv1): 44(ptr) Variable Function
141(uv2): 44(ptr) Variable Function
165(n1): 163(ptr) Variable Function
177(n2): 163(ptr) Variable Function
200(pos1): 198(ptr) Variable Function
212(pos2): 198(ptr) Variable Function
224(pos): 198(ptr) Variable Function
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 90
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 91 91 16 16
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 94 84(input) 97
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 85(TessCoord) 97
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 101 86(patch) 97
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 90 87(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];)
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 90
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 107 107 16 16
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 111 110(output) 97
Store 110(output) 118
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 120 120 16 16
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 122 121(uv1) 97
130: 42(fvec2) CompositeExtract 86(patch) 0 2
132: 42(fvec2) CompositeExtract 86(patch) 1 2
135: 133(ptr) AccessChain 85(TessCoord) 16
136: 8(float) Load 135
137: 42(fvec2) CompositeConstruct 136 136
138: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 130 132 137
Store 121(uv1) 138
139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 140 140 16 16
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 142 141(uv2) 97
146: 42(fvec2) CompositeExtract 86(patch) 3 2
147: 42(fvec2) CompositeExtract 86(patch) 2 2
148: 133(ptr) AccessChain 85(TessCoord) 16
149: 8(float) Load 148
150: 42(fvec2) CompositeConstruct 149 149
151: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 146 147 150
Store 141(uv2) 151
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 153 153 16 16
154: 42(fvec2) Load 121(uv1)
155: 42(fvec2) Load 141(uv2)
156: 133(ptr) AccessChain 85(TessCoord) 36
157: 8(float) Load 156
158: 42(fvec2) CompositeConstruct 157 157
159: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 154 155 158
160: 44(ptr) AccessChain 110(output) 129
Store 160 159
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 162 162 16 16
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 166 165(n1) 97
169: 48(fvec3) CompositeExtract 86(patch) 0 1
170: 48(fvec3) CompositeExtract 86(patch) 1 1
171: 133(ptr) AccessChain 85(TessCoord) 16
172: 8(float) Load 171
173: 48(fvec3) CompositeConstruct 172 172 172
174: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 169 170 173
Store 165(n1) 174
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 176 176 16 16
180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 178 177(n2) 97
181: 48(fvec3) CompositeExtract 86(patch) 3 1
182: 48(fvec3) CompositeExtract 86(patch) 2 1
183: 133(ptr) AccessChain 85(TessCoord) 16
184: 8(float) Load 183
185: 48(fvec3) CompositeConstruct 184 184 184
186: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 181 182 185
Store 177(n2) 186
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 188 188 16 16
189: 48(fvec3) Load 165(n1)
190: 48(fvec3) Load 177(n2)
191: 133(ptr) AccessChain 85(TessCoord) 36
192: 8(float) Load 191
193: 48(fvec3) CompositeConstruct 192 192 192
194: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 189 190 193
195: 163(ptr) AccessChain 110(output) 131
Store 195 194
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 197 197 16 16
203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 201 200(pos1) 97
204: 46(fvec4) CompositeExtract 86(patch) 0 0
205: 46(fvec4) CompositeExtract 86(patch) 1 0
206: 133(ptr) AccessChain 85(TessCoord) 16
207: 8(float) Load 206
208: 46(fvec4) CompositeConstruct 207 207 207 207
209: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 204 205 208
Store 200(pos1) 209
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 211 211 16 16
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(pos2) 97
216: 46(fvec4) CompositeExtract 86(patch) 3 0
217: 46(fvec4) CompositeExtract 86(patch) 2 0
218: 133(ptr) AccessChain 85(TessCoord) 16
219: 8(float) Load 218
220: 46(fvec4) CompositeConstruct 219 219 219 219
221: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 216 217 220
Store 212(pos2) 221
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 223 223 16 16
227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 225 224(pos) 97
228: 46(fvec4) Load 200(pos1)
229: 46(fvec4) Load 212(pos2)
230: 133(ptr) AccessChain 85(TessCoord) 36
231: 8(float) Load 230
232: 46(fvec4) CompositeConstruct 231 231 231 231
233: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 228 229 232
Store 224(pos) 233
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 235 235 16 16
247: 236 Load 243(displacementMapTexture)
257: 248 Load 254(displacementMapSampler)
262: 258 SampledImage 247 257
263: 44(ptr) AccessChain 110(output) 129
264: 42(fvec2) Load 263
265: 46(fvec4) ImageSampleExplicitLod 262 264 Lod 114
266: 8(float) CompositeExtract 265 0
309: 307(ptr) AccessChain 304 128 306
310: 8(float) Load 309
311: 8(float) FMul 266 310
312: 133(ptr) AccessChain 224(pos) 36
313: 8(float) Load 312
314: 8(float) FSub 313 311
315: 133(ptr) AccessChain 224(pos) 36
Store 315 314
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16
318: 46(fvec4) Load 224(pos)
321: 319(ptr) AccessChain 304 128 131
322: 267 Load 321
323: 46(fvec4) VectorTimesMatrix 318 322
324: 319(ptr) AccessChain 304 128 128
325: 267 Load 324
326: 46(fvec4) VectorTimesMatrix 323 325
327: 198(ptr) AccessChain 110(output) 128
Store 327 326
328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 329 329 16 16
330: 46(fvec4) Load 224(pos)
331: 48(fvec3) VectorShuffle 330 330 0 1 2
332: 48(fvec3) FNegate 331
333: 163(ptr) AccessChain 110(output) 145
Store 333 332
334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 335 335 16 16
338: 336(ptr) AccessChain 304 128 129
339: 46(fvec4) Load 338
340: 48(fvec3) VectorShuffle 339 339 0 1 2
341: 163(ptr) AccessChain 110(output) 145
342: 48(fvec3) Load 341
343: 48(fvec3) FAdd 340 342
344: 48(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 343
345: 163(ptr) AccessChain 110(output) 306
Store 345 344
346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 347 347 16 16
349: 46(fvec4) Load 224(pos)
350: 48(fvec3) VectorShuffle 349 349 0 1 2
351: 163(ptr) AccessChain 110(output) 348
Store 351 350
352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 353 353 16 16
355: 46(fvec4) Load 224(pos)
356: 319(ptr) AccessChain 304 128 131
357: 267 Load 356
358: 46(fvec4) VectorTimesMatrix 355 357
359: 48(fvec3) VectorShuffle 358 358 0 1 2
360: 163(ptr) AccessChain 110(output) 354
Store 360 359
361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 362 362 16 16
363:66(DSOutput) Load 110(output)
ReturnValue 363
107(output): 105(ptr) Variable Function
118(uv1): 44(ptr) Variable Function
138(uv2): 44(ptr) Variable Function
162(n1): 160(ptr) Variable Function
174(n2): 160(ptr) Variable Function
197(pos1): 195(ptr) Variable Function
209(pos2): 195(ptr) Variable Function
221(pos): 195(ptr) Variable Function
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 90
97: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 91 91 16 16
94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 84(input) 95
100: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 85(TessCoord) 95
103: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 101 86(patch) 95
104: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 90 87(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];)
112: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 110 110 16 16
111: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(output) 95
Store 107(output) 117
123: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 121 121 16 16
122: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(uv1) 95
129: 42(fvec2) CompositeExtract 86(patch) 0 2
131: 42(fvec2) CompositeExtract 86(patch) 1 2
134: 132(ptr) AccessChain 85(TessCoord) 16
135: 8(float) Load 134
136: 42(fvec2) CompositeConstruct 135 135
137: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 129 131 136
Store 118(uv1) 137
143: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 141 141 16 16
142: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 139 138(uv2) 95
145: 42(fvec2) CompositeExtract 86(patch) 3 2
146: 42(fvec2) CompositeExtract 86(patch) 2 2
147: 132(ptr) AccessChain 85(TessCoord) 16
148: 8(float) Load 147
149: 42(fvec2) CompositeConstruct 148 148
150: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 145 146 149
Store 138(uv2) 150
152: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 153 153 16 16
151: 42(fvec2) Load 118(uv1)
154: 42(fvec2) Load 138(uv2)
155: 132(ptr) AccessChain 85(TessCoord) 36
156: 8(float) Load 155
157: 42(fvec2) CompositeConstruct 156 156
158: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 151 154 157
159: 44(ptr) AccessChain 107(output) 128
Store 159 158
167: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 165 165 16 16
166: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 163 162(n1) 95
168: 48(fvec3) CompositeExtract 86(patch) 0 1
169: 48(fvec3) CompositeExtract 86(patch) 1 1
170: 132(ptr) AccessChain 85(TessCoord) 16
171: 8(float) Load 170
172: 48(fvec3) CompositeConstruct 171 171 171
173: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 168 169 172
Store 162(n1) 173
179: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 177 177 16 16
178: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 175 174(n2) 95
180: 48(fvec3) CompositeExtract 86(patch) 3 1
181: 48(fvec3) CompositeExtract 86(patch) 2 1
182: 132(ptr) AccessChain 85(TessCoord) 16
183: 8(float) Load 182
184: 48(fvec3) CompositeConstruct 183 183 183
185: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 180 181 184
Store 174(n2) 185
187: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 188 188 16 16
186: 48(fvec3) Load 162(n1)
189: 48(fvec3) Load 174(n2)
190: 132(ptr) AccessChain 85(TessCoord) 36
191: 8(float) Load 190
192: 48(fvec3) CompositeConstruct 191 191 191
193: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 186 189 192
194: 160(ptr) AccessChain 107(output) 130
Store 194 193
202: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 200 200 16 16
201: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos1) 95
203: 46(fvec4) CompositeExtract 86(patch) 0 0
204: 46(fvec4) CompositeExtract 86(patch) 1 0
205: 132(ptr) AccessChain 85(TessCoord) 16
206: 8(float) Load 205
207: 46(fvec4) CompositeConstruct 206 206 206 206
208: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 203 204 207
Store 197(pos1) 208
214: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 212 212 16 16
213: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 210 209(pos2) 95
215: 46(fvec4) CompositeExtract 86(patch) 3 0
216: 46(fvec4) CompositeExtract 86(patch) 2 0
217: 132(ptr) AccessChain 85(TessCoord) 16
218: 8(float) Load 217
219: 46(fvec4) CompositeConstruct 218 218 218 218
220: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 215 216 219
Store 209(pos2) 220
226: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 224 224 16 16
225: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 222 221(pos) 95
227: 46(fvec4) Load 197(pos1)
228: 46(fvec4) Load 209(pos2)
229: 132(ptr) AccessChain 85(TessCoord) 36
230: 8(float) Load 229
231: 46(fvec4) CompositeConstruct 230 230 230 230
232: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 227 228 231
Store 221(pos) 232
246: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 236 236 16 16
245: 233 Load 241(displacementMapTexture)
256: 247 Load 253(displacementMapSampler)
261: 257 SampledImage 245 256
262: 44(ptr) AccessChain 107(output) 128
263: 42(fvec2) Load 262
264: 46(fvec4) ImageSampleExplicitLod 261 263 Lod 113
265: 8(float) CompositeExtract 264 0
308: 306(ptr) AccessChain 303 127 305
309: 8(float) Load 308
310: 8(float) FMul 265 309
311: 132(ptr) AccessChain 221(pos) 36
312: 8(float) Load 311
313: 8(float) FSub 312 310
314: 132(ptr) AccessChain 221(pos) 36
Store 314 313
316: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16
315: 46(fvec4) Load 221(pos)
320: 318(ptr) AccessChain 303 127 130
321: 266 Load 320
322: 46(fvec4) VectorTimesMatrix 315 321
323: 318(ptr) AccessChain 303 127 127
324: 266 Load 323
325: 46(fvec4) VectorTimesMatrix 322 324
326: 195(ptr) AccessChain 107(output) 127
Store 326 325
328: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 329 329 16 16
327: 46(fvec4) Load 221(pos)
330: 48(fvec3) VectorShuffle 327 327 0 1 2
331: 48(fvec3) FNegate 330
332: 160(ptr) AccessChain 107(output) 144
Store 332 331
336: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 337 337 16 16
335: 333(ptr) AccessChain 303 127 128
338: 46(fvec4) Load 335
339: 48(fvec3) VectorShuffle 338 338 0 1 2
340: 160(ptr) AccessChain 107(output) 144
341: 48(fvec3) Load 340
342: 48(fvec3) FAdd 339 341
343: 48(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 342
344: 160(ptr) AccessChain 107(output) 305
Store 344 343
347: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 348 348 16 16
346: 46(fvec4) Load 221(pos)
349: 48(fvec3) VectorShuffle 346 346 0 1 2
350: 160(ptr) AccessChain 107(output) 345
Store 350 349
353: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 354 354 16 16
352: 46(fvec4) Load 221(pos)
355: 318(ptr) AccessChain 303 127 130
356: 266 Load 355
357: 46(fvec4) VectorTimesMatrix 352 356
358: 48(fvec3) VectorShuffle 357 357 0 1 2
359: 160(ptr) AccessChain 107(output) 351
Store 359 358
361: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 362 362 16 16
360:66(DSOutput) Load 107(output)
ReturnValue 360
FunctionEnd

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
spv.debuginfo.scalar_types.glsl.frag
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 158
// Id's are bound by 159
Capability Shader
Capability Float16
@ -10,12 +10,12 @@ spv.debuginfo.scalar_types.glsl.frag
Capability Int16
Capability Int8
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 14 "main"
ExecutionMode 14 OriginUpperLeft
1: String ""
2: String ""
8: String "uint"
16: String "main"
19: String "// OpModuleProcessed auto-map-locations
@ -26,183 +26,183 @@ spv.debuginfo.scalar_types.glsl.frag
// OpModuleProcessed entry-point main
#line 1
"
30: String "bool"
36: String "VAR_bool"
42: String "int"
48: String "VAR_int"
56: String "VAR_uint"
60: String "float"
66: String "VAR_float"
71: String "double"
78: String "VAR_double"
83: String "int8_t"
89: String "VAR_int8_t"
94: String "uint8_t"
100: String "VAR_uint8_t"
105: String "int16_t"
112: String "VAR_int16_t"
117: String "uint16_t"
123: String "VAR_uint16_t"
128: String "int64_t"
134: String "VAR_int64_t"
139: String "uint64_t"
145: String "VAR_uint64_t"
150: String "float16_t"
156: String "VAR_float16_t"
29: String "bool"
35: String "VAR_bool"
41: String "int"
47: String "VAR_int"
55: String "VAR_uint"
59: String "float"
65: String "VAR_float"
70: String "double"
77: String "VAR_double"
82: String "int8_t"
88: String "VAR_int8_t"
93: String "uint8_t"
99: String "VAR_uint8_t"
104: String "int16_t"
111: String "VAR_int16_t"
116: String "uint16_t"
122: String "VAR_uint16_t"
127: String "int64_t"
133: String "VAR_int64_t"
138: String "uint64_t"
144: String "VAR_uint64_t"
149: String "float16_t"
155: String "VAR_float16_t"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
Name 14 "main"
Name 34 "VAR_bool"
Name 46 "VAR_int"
Name 54 "VAR_uint"
Name 64 "VAR_float"
Name 76 "VAR_double"
Name 87 "VAR_int8_t"
Name 98 "VAR_uint8_t"
Name 110 "VAR_int16_t"
Name 121 "VAR_uint16_t"
Name 132 "VAR_int64_t"
Name 143 "VAR_uint64_t"
Name 154 "VAR_float16_t"
Name 33 "VAR_bool"
Name 45 "VAR_int"
Name 53 "VAR_uint"
Name 63 "VAR_float"
Name 75 "VAR_double"
Name 86 "VAR_int8_t"
Name 97 "VAR_uint8_t"
Name 109 "VAR_int16_t"
Name 120 "VAR_uint16_t"
Name 131 "VAR_int64_t"
Name 142 "VAR_uint64_t"
Name 153 "VAR_float16_t"
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
10: 7(int) Constant 32
11: 7(int) Constant 6
12: 7(int) Constant 0
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
9: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
13: 7(int) Constant 3
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
6: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
18: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 19
20: 7(int) Constant 42
22: 7(int) Constant 1
23: 7(int) Constant 4
24: 7(int) Constant 2
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
28: 7(int) Constant 43
29: TypeBool
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12
32: TypePointer Private 29(bool)
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 11 12
34(VAR_bool): 32(ptr) Variable Private
21: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
17: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
28: TypeBool
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 24 12
31: TypePointer Private 28(bool)
32: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 30 11 12
33(VAR_bool): 31(ptr) Variable Private
36: 7(int) Constant 43
37: 7(int) Constant 8
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 36 31 18 28 12 21 36 34(VAR_bool) 37
38: 29(bool) ConstantFalse
40: 7(int) Constant 44
41: TypeInt 32 1
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 42 10 23 12
44: TypePointer Private 41(int)
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 11 12
46(VAR_int): 44(ptr) Variable Private
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 43 18 40 12 21 48 46(VAR_int) 37
49: 41(int) Constant 0
51: 7(int) Constant 45
52: TypePointer Private 7(int)
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 11 12
54(VAR_uint): 52(ptr) Variable Private
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 56 9 18 51 12 21 56 54(VAR_uint) 37
58: 7(int) Constant 46
59: TypeFloat 32
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 60 10 13 12
62: TypePointer Private 59(float)
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 11 12
64(VAR_float): 62(ptr) Variable Private
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 66 61 18 58 12 21 66 64(VAR_float) 37
67: 59(float) Constant 0
69: 7(int) Constant 47
70: TypeFloat 64
73: 7(int) Constant 64
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 71 73 13 12
74: TypePointer Private 70(float64_t)
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 72 11 12
76(VAR_double): 74(ptr) Variable Private
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 78 72 18 69 12 21 78 76(VAR_double) 37
79:70(float64_t) Constant 0 0
81: 7(int) Constant 48
82: TypeInt 8 1
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 83 37 23 12
85: TypePointer Private 82(int8_t)
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 84 11 12
87(VAR_int8_t): 85(ptr) Variable Private
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 89 84 18 81 12 21 89 87(VAR_int8_t) 37
90: 82(int8_t) Constant 0
92: 7(int) Constant 49
93: TypeInt 8 0
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 94 37 11 12
96: TypePointer Private 93(int8_t)
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 95 11 12
98(VAR_uint8_t): 96(ptr) Variable Private
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 100 95 18 92 12 21 100 98(VAR_uint8_t) 37
101: 93(int8_t) Constant 0
103: 7(int) Constant 50
104: TypeInt 16 1
107: 7(int) Constant 16
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 105 107 23 12
108: TypePointer Private 104(int16_t)
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 106 11 12
110(VAR_int16_t): 108(ptr) Variable Private
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 112 106 18 103 12 21 112 110(VAR_int16_t) 37
113:104(int16_t) Constant 0
115: 7(int) Constant 51
116: TypeInt 16 0
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 117 107 11 12
119: TypePointer Private 116(int16_t)
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 118 11 12
121(VAR_uint16_t): 119(ptr) Variable Private
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 123 118 18 115 12 21 123 121(VAR_uint16_t) 37
124:116(int16_t) Constant 0
126: 7(int) Constant 52
127: TypeInt 64 1
129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 128 73 23 12
130: TypePointer Private 127(int64_t)
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 129 11 12
132(VAR_int64_t): 130(ptr) Variable Private
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 134 129 18 126 12 21 134 132(VAR_int64_t) 37
135:127(int64_t) Constant 0 0
137: 7(int) Constant 53
138: TypeInt 64 0
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 73 11 12
141: TypePointer Private 138(int64_t)
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 140 11 12
143(VAR_uint64_t): 141(ptr) Variable Private
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 145 140 18 137 12 21 145 143(VAR_uint64_t) 37
146:138(int64_t) Constant 0 0
148: 7(int) Constant 54
149: TypeFloat 16
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 150 107 13 12
152: TypePointer Private 149(float16_t)
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 151 11 12
154(VAR_float16_t): 152(ptr) Variable Private
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 156 151 18 148 12 21 156 154(VAR_float16_t) 37
157:149(float16_t) Constant 0
Line 1 42 11
34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 35 30 18 36 12 21 35 33(VAR_bool) 37
38: 28(bool) ConstantFalse
40: TypeInt 32 1
42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 41 10 23 12
43: TypePointer Private 40(int)
44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 42 11 12
45(VAR_int): 43(ptr) Variable Private
48: 7(int) Constant 44
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 47 42 18 48 12 21 47 45(VAR_int) 37
49: 40(int) Constant 0
51: TypePointer Private 7(int)
52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 11 12
53(VAR_uint): 51(ptr) Variable Private
56: 7(int) Constant 45
54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 55 9 18 56 12 21 55 53(VAR_uint) 37
58: TypeFloat 32
60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 59 10 13 12
61: TypePointer Private 58(float)
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 11 12
63(VAR_float): 61(ptr) Variable Private
66: 7(int) Constant 46
64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 65 60 18 66 12 21 65 63(VAR_float) 37
67: 58(float) Constant 0
69: TypeFloat 64
72: 7(int) Constant 64
71: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 70 72 13 12
73: TypePointer Private 69(float64_t)
74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 11 12
75(VAR_double): 73(ptr) Variable Private
78: 7(int) Constant 47
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 71 18 78 12 21 77 75(VAR_double) 37
79:69(float64_t) Constant 0 0
81: TypeInt 8 1
83: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 82 37 23 12
84: TypePointer Private 81(int8_t)
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 83 11 12
86(VAR_int8_t): 84(ptr) Variable Private
89: 7(int) Constant 48
87: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 88 83 18 89 12 21 88 86(VAR_int8_t) 37
90: 81(int8_t) Constant 0
92: TypeInt 8 0
94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 37 11 12
95: TypePointer Private 92(int8_t)
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 11 12
97(VAR_uint8_t): 95(ptr) Variable Private
100: 7(int) Constant 49
98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 99 94 18 100 12 21 99 97(VAR_uint8_t) 37
101: 92(int8_t) Constant 0
103: TypeInt 16 1
106: 7(int) Constant 16
105: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 104 106 23 12
107: TypePointer Private 103(int16_t)
108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 105 11 12
109(VAR_int16_t): 107(ptr) Variable Private
112: 7(int) Constant 50
110: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 111 105 18 112 12 21 111 109(VAR_int16_t) 37
113:103(int16_t) Constant 0
115: TypeInt 16 0
117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 116 106 11 12
118: TypePointer Private 115(int16_t)
119: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 117 11 12
120(VAR_uint16_t): 118(ptr) Variable Private
123: 7(int) Constant 51
121: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 18 123 12 21 122 120(VAR_uint16_t) 37
124:115(int16_t) Constant 0
126: TypeInt 64 1
128: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 127 72 23 12
129: TypePointer Private 126(int64_t)
130: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 11 12
131(VAR_int64_t): 129(ptr) Variable Private
134: 7(int) Constant 52
132: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 133 128 18 134 12 21 133 131(VAR_int64_t) 37
135:126(int64_t) Constant 0 0
137: TypeInt 64 0
139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 72 11 12
140: TypePointer Private 137(int64_t)
141: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 11 12
142(VAR_uint64_t): 140(ptr) Variable Private
145: 7(int) Constant 53
143: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 144 139 18 145 12 21 144 142(VAR_uint64_t) 37
146:137(int64_t) Constant 0 0
148: TypeFloat 16
150: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 149 106 13 12
151: TypePointer Private 148(float16_t)
152: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 150 11 12
153(VAR_float16_t): 151(ptr) Variable Private
156: 7(int) Constant 54
154: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 155 150 18 156 12 21 155 153(VAR_float16_t) 37
157:148(float16_t) Constant 0
14(main): 4 Function None 5
15: Label
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
Store 34(VAR_bool) 38
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 40 40 12 12
Store 46(VAR_int) 49
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 51 51 12 12
Store 54(VAR_uint) 12
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 58 58 12 12
Store 64(VAR_float) 67
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12
Store 76(VAR_double) 79
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12
Store 87(VAR_int8_t) 90
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 92 92 12 12
Store 98(VAR_uint8_t) 101
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 103 103 12 12
Store 110(VAR_int16_t) 113
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 115 115 12 12
Store 121(VAR_uint16_t) 124
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12
Store 132(VAR_int64_t) 135
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 137 137 12 12
Store 143(VAR_uint64_t) 146
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 148 148 12 12
Store 154(VAR_float16_t) 157
26: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 20 20 12 12
25: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 36 36 12 12
Store 33(VAR_bool) 38
50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 48 48 12 12
Store 45(VAR_int) 49
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12
Store 53(VAR_uint) 12
68: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 66 66 12 12
Store 63(VAR_float) 67
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 78 78 12 12
Store 75(VAR_double) 79
91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 89 89 12 12
Store 86(VAR_int8_t) 90
102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 100 100 12 12
Store 97(VAR_uint8_t) 101
114: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 112 112 12 12
Store 109(VAR_int16_t) 113
125: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 123 123 12 12
Store 120(VAR_uint16_t) 124
136: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 134 134 12 12
Store 131(VAR_int64_t) 135
147: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 145 145 12 12
Store 142(VAR_uint64_t) 146
158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 156 156 12 12
Store 153(VAR_float16_t) 157
Return
FunctionEnd