You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
360 lines
18 KiB
360 lines
18 KiB
spv.computeShaderDerivatives2.comp
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000a
|
|
// Id's are bound by 212
|
|
|
|
Capability Shader
|
|
Capability DerivativeControl
|
|
Capability ComputeDerivativeGroupLinearNV
|
|
Extension "SPV_NV_compute_shader_derivatives"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint GLCompute 4 "main"
|
|
ExecutionMode 4 LocalSize 2 4 1
|
|
ExecutionMode 4 DerivativeGroupLinearNV
|
|
Source ESSL 320
|
|
SourceExtension "GL_NV_compute_shader_derivatives"
|
|
Name 4 "main"
|
|
Name 10 "block"
|
|
MemberName 10(block) 0 "fDerivativeX"
|
|
MemberName 10(block) 1 "fDerivativeY"
|
|
MemberName 10(block) 2 "fDerivativeWidth"
|
|
MemberName 10(block) 3 "fCoarseDerivativeX"
|
|
MemberName 10(block) 4 "fCoarseDerivativeY"
|
|
MemberName 10(block) 5 "fCoarseDerivativeWidth"
|
|
MemberName 10(block) 6 "fFineDerivativeX"
|
|
MemberName 10(block) 7 "fFineDerivativeY"
|
|
MemberName 10(block) 8 "fFineDerivativeWidth"
|
|
MemberName 10(block) 9 "fX"
|
|
MemberName 10(block) 10 "fY"
|
|
MemberName 10(block) 11 "v2DerivativeX"
|
|
MemberName 10(block) 12 "v2DerivativeY"
|
|
MemberName 10(block) 13 "v2DerivativeWidth"
|
|
MemberName 10(block) 14 "v2CoarseDerivativeX"
|
|
MemberName 10(block) 15 "v2CoarseDerivativeY"
|
|
MemberName 10(block) 16 "v2CoarseDerivativeWidth"
|
|
MemberName 10(block) 17 "v2FineDerivativeX"
|
|
MemberName 10(block) 18 "v2FineDerivativeY"
|
|
MemberName 10(block) 19 "v2FineDerivativeWidth"
|
|
MemberName 10(block) 20 "v2X"
|
|
MemberName 10(block) 21 "v2Y"
|
|
MemberName 10(block) 22 "v3DerivativeX"
|
|
MemberName 10(block) 23 "v3DerivativeY"
|
|
MemberName 10(block) 24 "v3DerivativeWidth"
|
|
MemberName 10(block) 25 "v3CoarseDerivativeX"
|
|
MemberName 10(block) 26 "v3CoarseDerivativeY"
|
|
MemberName 10(block) 27 "v3CoarseDerivativeWidth"
|
|
MemberName 10(block) 28 "v3FineDerivativeX"
|
|
MemberName 10(block) 29 "v3FineDerivativeY"
|
|
MemberName 10(block) 30 "v3FineDerivativeWidth"
|
|
MemberName 10(block) 31 "v3X"
|
|
MemberName 10(block) 32 "v3Y"
|
|
MemberName 10(block) 33 "v4DerivativeX"
|
|
MemberName 10(block) 34 "v4DerivativeY"
|
|
MemberName 10(block) 35 "v4DerivativeWidth"
|
|
MemberName 10(block) 36 "v4CoarseDerivativeX"
|
|
MemberName 10(block) 37 "v4CoarseDerivativeY"
|
|
MemberName 10(block) 38 "v4CoarseDerivativeWidth"
|
|
MemberName 10(block) 39 "v4FineDerivativeX"
|
|
MemberName 10(block) 40 "v4FineDerivativeY"
|
|
MemberName 10(block) 41 "v4FineDerivativeWidth"
|
|
MemberName 10(block) 42 "v4X"
|
|
MemberName 10(block) 43 "v4Y"
|
|
Name 12 ""
|
|
MemberDecorate 10(block) 0 Offset 0
|
|
MemberDecorate 10(block) 1 Offset 4
|
|
MemberDecorate 10(block) 2 Offset 8
|
|
MemberDecorate 10(block) 3 Offset 12
|
|
MemberDecorate 10(block) 4 Offset 16
|
|
MemberDecorate 10(block) 5 Offset 20
|
|
MemberDecorate 10(block) 6 Offset 24
|
|
MemberDecorate 10(block) 7 Offset 28
|
|
MemberDecorate 10(block) 8 Offset 32
|
|
MemberDecorate 10(block) 9 Offset 36
|
|
MemberDecorate 10(block) 10 Offset 40
|
|
MemberDecorate 10(block) 11 Offset 48
|
|
MemberDecorate 10(block) 12 Offset 56
|
|
MemberDecorate 10(block) 13 Offset 64
|
|
MemberDecorate 10(block) 14 Offset 72
|
|
MemberDecorate 10(block) 15 Offset 80
|
|
MemberDecorate 10(block) 16 Offset 88
|
|
MemberDecorate 10(block) 17 Offset 96
|
|
MemberDecorate 10(block) 18 Offset 104
|
|
MemberDecorate 10(block) 19 Offset 112
|
|
MemberDecorate 10(block) 20 Offset 120
|
|
MemberDecorate 10(block) 21 Offset 128
|
|
MemberDecorate 10(block) 22 Offset 144
|
|
MemberDecorate 10(block) 23 Offset 160
|
|
MemberDecorate 10(block) 24 Offset 176
|
|
MemberDecorate 10(block) 25 Offset 192
|
|
MemberDecorate 10(block) 26 Offset 208
|
|
MemberDecorate 10(block) 27 Offset 224
|
|
MemberDecorate 10(block) 28 Offset 240
|
|
MemberDecorate 10(block) 29 Offset 256
|
|
MemberDecorate 10(block) 30 Offset 272
|
|
MemberDecorate 10(block) 31 Offset 288
|
|
MemberDecorate 10(block) 32 Offset 304
|
|
MemberDecorate 10(block) 33 Offset 320
|
|
MemberDecorate 10(block) 34 Offset 336
|
|
MemberDecorate 10(block) 35 Offset 352
|
|
MemberDecorate 10(block) 36 Offset 368
|
|
MemberDecorate 10(block) 37 Offset 384
|
|
MemberDecorate 10(block) 38 Offset 400
|
|
MemberDecorate 10(block) 39 Offset 416
|
|
MemberDecorate 10(block) 40 Offset 432
|
|
MemberDecorate 10(block) 41 Offset 448
|
|
MemberDecorate 10(block) 42 Offset 464
|
|
MemberDecorate 10(block) 43 Offset 480
|
|
Decorate 10(block) BufferBlock
|
|
Decorate 12 DescriptorSet 0
|
|
Decorate 12 Binding 0
|
|
Decorate 211 BuiltIn WorkgroupSize
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 2
|
|
8: TypeVector 6(float) 3
|
|
9: TypeVector 6(float) 4
|
|
10(block): TypeStruct 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4)
|
|
11: TypePointer Uniform 10(block)
|
|
12: 11(ptr) Variable Uniform
|
|
13: TypeInt 32 1
|
|
14: 13(int) Constant 0
|
|
15: 13(int) Constant 9
|
|
16: TypePointer Uniform 6(float)
|
|
21: 13(int) Constant 1
|
|
22: 13(int) Constant 10
|
|
27: 13(int) Constant 2
|
|
32: 13(int) Constant 3
|
|
37: 13(int) Constant 4
|
|
42: 13(int) Constant 5
|
|
47: 13(int) Constant 6
|
|
52: 13(int) Constant 7
|
|
57: 13(int) Constant 8
|
|
62: 13(int) Constant 11
|
|
63: 13(int) Constant 20
|
|
64: TypePointer Uniform 7(fvec2)
|
|
69: 13(int) Constant 12
|
|
70: 13(int) Constant 21
|
|
75: 13(int) Constant 13
|
|
80: 13(int) Constant 14
|
|
85: 13(int) Constant 15
|
|
90: 13(int) Constant 16
|
|
95: 13(int) Constant 17
|
|
100: 13(int) Constant 18
|
|
105: 13(int) Constant 19
|
|
110: 13(int) Constant 22
|
|
111: 13(int) Constant 31
|
|
112: TypePointer Uniform 8(fvec3)
|
|
117: 13(int) Constant 23
|
|
118: 13(int) Constant 32
|
|
123: 13(int) Constant 24
|
|
128: 13(int) Constant 25
|
|
133: 13(int) Constant 26
|
|
138: 13(int) Constant 27
|
|
143: 13(int) Constant 28
|
|
148: 13(int) Constant 29
|
|
153: 13(int) Constant 30
|
|
158: 13(int) Constant 33
|
|
159: 13(int) Constant 42
|
|
160: TypePointer Uniform 9(fvec4)
|
|
165: 13(int) Constant 34
|
|
166: 13(int) Constant 43
|
|
171: 13(int) Constant 35
|
|
176: 13(int) Constant 36
|
|
181: 13(int) Constant 37
|
|
186: 13(int) Constant 38
|
|
191: 13(int) Constant 39
|
|
196: 13(int) Constant 40
|
|
201: 13(int) Constant 41
|
|
206: TypeInt 32 0
|
|
207: TypeVector 206(int) 3
|
|
208: 206(int) Constant 2
|
|
209: 206(int) Constant 4
|
|
210: 206(int) Constant 1
|
|
211: 207(ivec3) ConstantComposite 208 209 210
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
17: 16(ptr) AccessChain 12 15
|
|
18: 6(float) Load 17
|
|
19: 6(float) DPdx 18
|
|
20: 16(ptr) AccessChain 12 14
|
|
Store 20 19
|
|
23: 16(ptr) AccessChain 12 22
|
|
24: 6(float) Load 23
|
|
25: 6(float) DPdy 24
|
|
26: 16(ptr) AccessChain 12 21
|
|
Store 26 25
|
|
28: 16(ptr) AccessChain 12 15
|
|
29: 6(float) Load 28
|
|
30: 6(float) Fwidth 29
|
|
31: 16(ptr) AccessChain 12 27
|
|
Store 31 30
|
|
33: 16(ptr) AccessChain 12 15
|
|
34: 6(float) Load 33
|
|
35: 6(float) DPdxCoarse 34
|
|
36: 16(ptr) AccessChain 12 32
|
|
Store 36 35
|
|
38: 16(ptr) AccessChain 12 22
|
|
39: 6(float) Load 38
|
|
40: 6(float) DPdyCoarse 39
|
|
41: 16(ptr) AccessChain 12 37
|
|
Store 41 40
|
|
43: 16(ptr) AccessChain 12 15
|
|
44: 6(float) Load 43
|
|
45: 6(float) FwidthCoarse 44
|
|
46: 16(ptr) AccessChain 12 42
|
|
Store 46 45
|
|
48: 16(ptr) AccessChain 12 15
|
|
49: 6(float) Load 48
|
|
50: 6(float) DPdxFine 49
|
|
51: 16(ptr) AccessChain 12 47
|
|
Store 51 50
|
|
53: 16(ptr) AccessChain 12 22
|
|
54: 6(float) Load 53
|
|
55: 6(float) DPdyFine 54
|
|
56: 16(ptr) AccessChain 12 52
|
|
Store 56 55
|
|
58: 16(ptr) AccessChain 12 15
|
|
59: 6(float) Load 58
|
|
60: 6(float) FwidthFine 59
|
|
61: 16(ptr) AccessChain 12 57
|
|
Store 61 60
|
|
65: 64(ptr) AccessChain 12 63
|
|
66: 7(fvec2) Load 65
|
|
67: 7(fvec2) DPdx 66
|
|
68: 64(ptr) AccessChain 12 62
|
|
Store 68 67
|
|
71: 64(ptr) AccessChain 12 70
|
|
72: 7(fvec2) Load 71
|
|
73: 7(fvec2) DPdy 72
|
|
74: 64(ptr) AccessChain 12 69
|
|
Store 74 73
|
|
76: 64(ptr) AccessChain 12 63
|
|
77: 7(fvec2) Load 76
|
|
78: 7(fvec2) Fwidth 77
|
|
79: 64(ptr) AccessChain 12 75
|
|
Store 79 78
|
|
81: 64(ptr) AccessChain 12 63
|
|
82: 7(fvec2) Load 81
|
|
83: 7(fvec2) DPdxCoarse 82
|
|
84: 64(ptr) AccessChain 12 80
|
|
Store 84 83
|
|
86: 64(ptr) AccessChain 12 70
|
|
87: 7(fvec2) Load 86
|
|
88: 7(fvec2) DPdyCoarse 87
|
|
89: 64(ptr) AccessChain 12 85
|
|
Store 89 88
|
|
91: 64(ptr) AccessChain 12 63
|
|
92: 7(fvec2) Load 91
|
|
93: 7(fvec2) FwidthCoarse 92
|
|
94: 64(ptr) AccessChain 12 90
|
|
Store 94 93
|
|
96: 64(ptr) AccessChain 12 63
|
|
97: 7(fvec2) Load 96
|
|
98: 7(fvec2) DPdxFine 97
|
|
99: 64(ptr) AccessChain 12 95
|
|
Store 99 98
|
|
101: 64(ptr) AccessChain 12 70
|
|
102: 7(fvec2) Load 101
|
|
103: 7(fvec2) DPdyFine 102
|
|
104: 64(ptr) AccessChain 12 100
|
|
Store 104 103
|
|
106: 64(ptr) AccessChain 12 63
|
|
107: 7(fvec2) Load 106
|
|
108: 7(fvec2) FwidthFine 107
|
|
109: 64(ptr) AccessChain 12 105
|
|
Store 109 108
|
|
113: 112(ptr) AccessChain 12 111
|
|
114: 8(fvec3) Load 113
|
|
115: 8(fvec3) DPdx 114
|
|
116: 112(ptr) AccessChain 12 110
|
|
Store 116 115
|
|
119: 112(ptr) AccessChain 12 118
|
|
120: 8(fvec3) Load 119
|
|
121: 8(fvec3) DPdy 120
|
|
122: 112(ptr) AccessChain 12 117
|
|
Store 122 121
|
|
124: 112(ptr) AccessChain 12 111
|
|
125: 8(fvec3) Load 124
|
|
126: 8(fvec3) Fwidth 125
|
|
127: 112(ptr) AccessChain 12 123
|
|
Store 127 126
|
|
129: 112(ptr) AccessChain 12 111
|
|
130: 8(fvec3) Load 129
|
|
131: 8(fvec3) DPdxCoarse 130
|
|
132: 112(ptr) AccessChain 12 128
|
|
Store 132 131
|
|
134: 112(ptr) AccessChain 12 118
|
|
135: 8(fvec3) Load 134
|
|
136: 8(fvec3) DPdyCoarse 135
|
|
137: 112(ptr) AccessChain 12 133
|
|
Store 137 136
|
|
139: 112(ptr) AccessChain 12 111
|
|
140: 8(fvec3) Load 139
|
|
141: 8(fvec3) FwidthCoarse 140
|
|
142: 112(ptr) AccessChain 12 138
|
|
Store 142 141
|
|
144: 112(ptr) AccessChain 12 111
|
|
145: 8(fvec3) Load 144
|
|
146: 8(fvec3) DPdxFine 145
|
|
147: 112(ptr) AccessChain 12 143
|
|
Store 147 146
|
|
149: 112(ptr) AccessChain 12 118
|
|
150: 8(fvec3) Load 149
|
|
151: 8(fvec3) DPdyFine 150
|
|
152: 112(ptr) AccessChain 12 148
|
|
Store 152 151
|
|
154: 112(ptr) AccessChain 12 111
|
|
155: 8(fvec3) Load 154
|
|
156: 8(fvec3) FwidthFine 155
|
|
157: 112(ptr) AccessChain 12 153
|
|
Store 157 156
|
|
161: 160(ptr) AccessChain 12 159
|
|
162: 9(fvec4) Load 161
|
|
163: 9(fvec4) DPdx 162
|
|
164: 160(ptr) AccessChain 12 158
|
|
Store 164 163
|
|
167: 160(ptr) AccessChain 12 166
|
|
168: 9(fvec4) Load 167
|
|
169: 9(fvec4) DPdy 168
|
|
170: 160(ptr) AccessChain 12 165
|
|
Store 170 169
|
|
172: 160(ptr) AccessChain 12 159
|
|
173: 9(fvec4) Load 172
|
|
174: 9(fvec4) Fwidth 173
|
|
175: 160(ptr) AccessChain 12 171
|
|
Store 175 174
|
|
177: 160(ptr) AccessChain 12 159
|
|
178: 9(fvec4) Load 177
|
|
179: 9(fvec4) DPdxCoarse 178
|
|
180: 160(ptr) AccessChain 12 176
|
|
Store 180 179
|
|
182: 160(ptr) AccessChain 12 166
|
|
183: 9(fvec4) Load 182
|
|
184: 9(fvec4) DPdyCoarse 183
|
|
185: 160(ptr) AccessChain 12 181
|
|
Store 185 184
|
|
187: 160(ptr) AccessChain 12 159
|
|
188: 9(fvec4) Load 187
|
|
189: 9(fvec4) FwidthCoarse 188
|
|
190: 160(ptr) AccessChain 12 186
|
|
Store 190 189
|
|
192: 160(ptr) AccessChain 12 159
|
|
193: 9(fvec4) Load 192
|
|
194: 9(fvec4) DPdxFine 193
|
|
195: 160(ptr) AccessChain 12 191
|
|
Store 195 194
|
|
197: 160(ptr) AccessChain 12 166
|
|
198: 9(fvec4) Load 197
|
|
199: 9(fvec4) DPdyFine 198
|
|
200: 160(ptr) AccessChain 12 196
|
|
Store 200 199
|
|
202: 160(ptr) AccessChain 12 159
|
|
203: 9(fvec4) Load 202
|
|
204: 9(fvec4) FwidthFine 203
|
|
205: 160(ptr) AccessChain 12 201
|
|
Store 205 204
|
|
Return
|
|
FunctionEnd
|