• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.intrinsics.negative.comp
2Shader version: 500
3local_size = (1, 1, 1)
40:? Sequence
50:2  Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; ( temp float)
60:2    Function Parameters:
70:2      'inF0' ( in float)
80:2      'inF1' ( in float)
90:2      'inF2' ( in float)
100:2      'inI0' ( in int)
110:?     Sequence
120:53      Branch: Return with expression
130:53        Constant:
140:53          0.000000
150:57  Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; ( temp 1-component vector of float)
160:57    Function Parameters:
170:57      'inF0' ( in 1-component vector of float)
180:57      'inF1' ( in 1-component vector of float)
190:57      'inF2' ( in 1-component vector of float)
200:57      'inI0' ( in 1-component vector of int)
210:?     Sequence
220:62      Branch: Return with expression
230:62        Constant:
240:62          0.000000
250:66  Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; ( temp 2-component vector of float)
260:66    Function Parameters:
270:66      'inF0' ( in 2-component vector of float)
280:66      'inF1' ( in 2-component vector of float)
290:66      'inF2' ( in 2-component vector of float)
300:66      'inI0' ( in 2-component vector of int)
310:?     Sequence
320:109      Branch: Return with expression
330:?         Constant:
340:?           1.000000
350:?           2.000000
360:113  Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; ( temp 3-component vector of float)
370:113    Function Parameters:
380:113      'inF0' ( in 3-component vector of float)
390:113      'inF1' ( in 3-component vector of float)
400:113      'inF2' ( in 3-component vector of float)
410:113      'inI0' ( in 3-component vector of int)
420:?     Sequence
430:154      Branch: Return with expression
440:?         Constant:
450:?           1.000000
460:?           2.000000
470:?           3.000000
480:158  Function Definition: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float)
490:158    Function Parameters:
500:158      'inF0' ( in 4-component vector of float)
510:158      'inF1' ( in 4-component vector of float)
520:158      'inF2' ( in 4-component vector of float)
530:158      'inI0' ( in 4-component vector of int)
540:?     Sequence
550:199      Branch: Return with expression
560:?         Constant:
570:?           1.000000
580:?           2.000000
590:?           3.000000
600:?           4.000000
610:158  Function Definition: ComputeShaderFunction( ( temp void)
620:158    Function Parameters:
630:?     Sequence
640:158      move second child to first child ( temp 4-component vector of float)
650:?         'inF0' ( temp 4-component vector of float)
660:?         'inF0' (layout( location=0) in 4-component vector of float)
670:158      move second child to first child ( temp 4-component vector of float)
680:?         'inF1' ( temp 4-component vector of float)
690:?         'inF1' (layout( location=1) in 4-component vector of float)
700:158      move second child to first child ( temp 4-component vector of float)
710:?         'inF2' ( temp 4-component vector of float)
720:?         'inF2' (layout( location=2) in 4-component vector of float)
730:158      move second child to first child ( temp 4-component vector of int)
740:?         'inI0' ( temp 4-component vector of int)
750:?         'inI0' (layout( location=3) in 4-component vector of int)
760:158      move second child to first child ( temp 4-component vector of float)
770:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
780:158        Function Call: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float)
790:?           'inF0' ( temp 4-component vector of float)
800:?           'inF1' ( temp 4-component vector of float)
810:?           'inF2' ( temp 4-component vector of float)
820:?           'inI0' ( temp 4-component vector of int)
830:?   Linker Objects
840:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
850:?     'inF0' (layout( location=0) in 4-component vector of float)
860:?     'inF1' (layout( location=1) in 4-component vector of float)
870:?     'inF2' (layout( location=2) in 4-component vector of float)
880:?     'inI0' (layout( location=3) in 4-component vector of int)
89
90
91Linked compute stage:
92
93
94Shader version: 500
95local_size = (1, 1, 1)
960:? Sequence
970:2  Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; ( temp float)
980:2    Function Parameters:
990:2      'inF0' ( in float)
1000:2      'inF1' ( in float)
1010:2      'inF2' ( in float)
1020:2      'inI0' ( in int)
1030:?     Sequence
1040:53      Branch: Return with expression
1050:53        Constant:
1060:53          0.000000
1070:57  Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; ( temp 1-component vector of float)
1080:57    Function Parameters:
1090:57      'inF0' ( in 1-component vector of float)
1100:57      'inF1' ( in 1-component vector of float)
1110:57      'inF2' ( in 1-component vector of float)
1120:57      'inI0' ( in 1-component vector of int)
1130:?     Sequence
1140:62      Branch: Return with expression
1150:62        Constant:
1160:62          0.000000
1170:66  Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; ( temp 2-component vector of float)
1180:66    Function Parameters:
1190:66      'inF0' ( in 2-component vector of float)
1200:66      'inF1' ( in 2-component vector of float)
1210:66      'inF2' ( in 2-component vector of float)
1220:66      'inI0' ( in 2-component vector of int)
1230:?     Sequence
1240:109      Branch: Return with expression
1250:?         Constant:
1260:?           1.000000
1270:?           2.000000
1280:113  Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; ( temp 3-component vector of float)
1290:113    Function Parameters:
1300:113      'inF0' ( in 3-component vector of float)
1310:113      'inF1' ( in 3-component vector of float)
1320:113      'inF2' ( in 3-component vector of float)
1330:113      'inI0' ( in 3-component vector of int)
1340:?     Sequence
1350:154      Branch: Return with expression
1360:?         Constant:
1370:?           1.000000
1380:?           2.000000
1390:?           3.000000
1400:158  Function Definition: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float)
1410:158    Function Parameters:
1420:158      'inF0' ( in 4-component vector of float)
1430:158      'inF1' ( in 4-component vector of float)
1440:158      'inF2' ( in 4-component vector of float)
1450:158      'inI0' ( in 4-component vector of int)
1460:?     Sequence
1470:199      Branch: Return with expression
1480:?         Constant:
1490:?           1.000000
1500:?           2.000000
1510:?           3.000000
1520:?           4.000000
1530:158  Function Definition: ComputeShaderFunction( ( temp void)
1540:158    Function Parameters:
1550:?     Sequence
1560:158      move second child to first child ( temp 4-component vector of float)
1570:?         'inF0' ( temp 4-component vector of float)
1580:?         'inF0' (layout( location=0) in 4-component vector of float)
1590:158      move second child to first child ( temp 4-component vector of float)
1600:?         'inF1' ( temp 4-component vector of float)
1610:?         'inF1' (layout( location=1) in 4-component vector of float)
1620:158      move second child to first child ( temp 4-component vector of float)
1630:?         'inF2' ( temp 4-component vector of float)
1640:?         'inF2' (layout( location=2) in 4-component vector of float)
1650:158      move second child to first child ( temp 4-component vector of int)
1660:?         'inI0' ( temp 4-component vector of int)
1670:?         'inI0' (layout( location=3) in 4-component vector of int)
1680:158      move second child to first child ( temp 4-component vector of float)
1690:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1700:158        Function Call: @ComputeShaderFunction(vf4;vf4;vf4;vi4; ( temp 4-component vector of float)
1710:?           'inF0' ( temp 4-component vector of float)
1720:?           'inF1' ( temp 4-component vector of float)
1730:?           'inF2' ( temp 4-component vector of float)
1740:?           'inI0' ( temp 4-component vector of int)
1750:?   Linker Objects
1760:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1770:?     'inF0' (layout( location=0) in 4-component vector of float)
1780:?     'inF1' (layout( location=1) in 4-component vector of float)
1790:?     'inF2' (layout( location=2) in 4-component vector of float)
1800:?     'inI0' (layout( location=3) in 4-component vector of int)
181
182// Module Version 10000
183// Generated by (magic number): 8000a
184// Id's are bound by 99
185
186                              Capability Shader
187               1:             ExtInstImport  "GLSL.std.450"
188                              MemoryModel Logical GLSL450
189                              EntryPoint GLCompute 4  "ComputeShaderFunction" 76 79 82 86 89
190                              ExecutionMode 4 LocalSize 1 1 1
191                              Source HLSL 500
192                              Name 4  "ComputeShaderFunction"
193                              Name 15  "ComputeShaderFunctionS(f1;f1;f1;i1;"
194                              Name 11  "inF0"
195                              Name 12  "inF1"
196                              Name 13  "inF2"
197                              Name 14  "inI0"
198                              Name 21  "ComputeShaderFunction1(vf1;vf1;vf1;vi1;"
199                              Name 17  "inF0"
200                              Name 18  "inF1"
201                              Name 19  "inF2"
202                              Name 20  "inI0"
203                              Name 32  "ComputeShaderFunction2(vf2;vf2;vf2;vi2;"
204                              Name 28  "inF0"
205                              Name 29  "inF1"
206                              Name 30  "inF2"
207                              Name 31  "inI0"
208                              Name 43  "ComputeShaderFunction3(vf3;vf3;vf3;vi3;"
209                              Name 39  "inF0"
210                              Name 40  "inF1"
211                              Name 41  "inF2"
212                              Name 42  "inI0"
213                              Name 54  "@ComputeShaderFunction(vf4;vf4;vf4;vi4;"
214                              Name 50  "inF0"
215                              Name 51  "inF1"
216                              Name 52  "inF2"
217                              Name 53  "inI0"
218                              Name 74  "inF0"
219                              Name 76  "inF0"
220                              Name 78  "inF1"
221                              Name 79  "inF1"
222                              Name 81  "inF2"
223                              Name 82  "inF2"
224                              Name 84  "inI0"
225                              Name 86  "inI0"
226                              Name 89  "@entryPointOutput"
227                              Name 90  "param"
228                              Name 92  "param"
229                              Name 94  "param"
230                              Name 96  "param"
231                              Decorate 76(inF0) Location 0
232                              Decorate 79(inF1) Location 1
233                              Decorate 82(inF2) Location 2
234                              Decorate 86(inI0) Location 3
235                              Decorate 89(@entryPointOutput) Location 0
236               2:             TypeVoid
237               3:             TypeFunction 2
238               6:             TypeFloat 32
239               7:             TypePointer Function 6(float)
240               8:             TypeInt 32 1
241               9:             TypePointer Function 8(int)
242              10:             TypeFunction 6(float) 7(ptr) 7(ptr) 7(ptr) 9(ptr)
243              23:             TypeVector 6(float) 2
244              24:             TypePointer Function 23(fvec2)
245              25:             TypeVector 8(int) 2
246              26:             TypePointer Function 25(ivec2)
247              27:             TypeFunction 23(fvec2) 24(ptr) 24(ptr) 24(ptr) 26(ptr)
248              34:             TypeVector 6(float) 3
249              35:             TypePointer Function 34(fvec3)
250              36:             TypeVector 8(int) 3
251              37:             TypePointer Function 36(ivec3)
252              38:             TypeFunction 34(fvec3) 35(ptr) 35(ptr) 35(ptr) 37(ptr)
253              45:             TypeVector 6(float) 4
254              46:             TypePointer Function 45(fvec4)
255              47:             TypeVector 8(int) 4
256              48:             TypePointer Function 47(ivec4)
257              49:             TypeFunction 45(fvec4) 46(ptr) 46(ptr) 46(ptr) 48(ptr)
258              56:    6(float) Constant 0
259              61:    6(float) Constant 1065353216
260              62:    6(float) Constant 1073741824
261              63:   23(fvec2) ConstantComposite 61 62
262              66:    6(float) Constant 1077936128
263              67:   34(fvec3) ConstantComposite 61 62 66
264              70:    6(float) Constant 1082130432
265              71:   45(fvec4) ConstantComposite 61 62 66 70
266              75:             TypePointer Input 45(fvec4)
267        76(inF0):     75(ptr) Variable Input
268        79(inF1):     75(ptr) Variable Input
269        82(inF2):     75(ptr) Variable Input
270              85:             TypePointer Input 47(ivec4)
271        86(inI0):     85(ptr) Variable Input
272              88:             TypePointer Output 45(fvec4)
27389(@entryPointOutput):     88(ptr) Variable Output
2744(ComputeShaderFunction):           2 Function None 3
275               5:             Label
276        74(inF0):     46(ptr) Variable Function
277        78(inF1):     46(ptr) Variable Function
278        81(inF2):     46(ptr) Variable Function
279        84(inI0):     48(ptr) Variable Function
280       90(param):     46(ptr) Variable Function
281       92(param):     46(ptr) Variable Function
282       94(param):     46(ptr) Variable Function
283       96(param):     48(ptr) Variable Function
284              77:   45(fvec4) Load 76(inF0)
285                              Store 74(inF0) 77
286              80:   45(fvec4) Load 79(inF1)
287                              Store 78(inF1) 80
288              83:   45(fvec4) Load 82(inF2)
289                              Store 81(inF2) 83
290              87:   47(ivec4) Load 86(inI0)
291                              Store 84(inI0) 87
292              91:   45(fvec4) Load 74(inF0)
293                              Store 90(param) 91
294              93:   45(fvec4) Load 78(inF1)
295                              Store 92(param) 93
296              95:   45(fvec4) Load 81(inF2)
297                              Store 94(param) 95
298              97:   47(ivec4) Load 84(inI0)
299                              Store 96(param) 97
300              98:   45(fvec4) FunctionCall 54(@ComputeShaderFunction(vf4;vf4;vf4;vi4;) 90(param) 92(param) 94(param) 96(param)
301                              Store 89(@entryPointOutput) 98
302                              Return
303                              FunctionEnd
30415(ComputeShaderFunctionS(f1;f1;f1;i1;):    6(float) Function None 10
305        11(inF0):      7(ptr) FunctionParameter
306        12(inF1):      7(ptr) FunctionParameter
307        13(inF2):      7(ptr) FunctionParameter
308        14(inI0):      9(ptr) FunctionParameter
309              16:             Label
310                              ReturnValue 56
311                              FunctionEnd
31221(ComputeShaderFunction1(vf1;vf1;vf1;vi1;):    6(float) Function None 10
313        17(inF0):      7(ptr) FunctionParameter
314        18(inF1):      7(ptr) FunctionParameter
315        19(inF2):      7(ptr) FunctionParameter
316        20(inI0):      9(ptr) FunctionParameter
317              22:             Label
318                              ReturnValue 56
319                              FunctionEnd
32032(ComputeShaderFunction2(vf2;vf2;vf2;vi2;):   23(fvec2) Function None 27
321        28(inF0):     24(ptr) FunctionParameter
322        29(inF1):     24(ptr) FunctionParameter
323        30(inF2):     24(ptr) FunctionParameter
324        31(inI0):     26(ptr) FunctionParameter
325              33:             Label
326                              ReturnValue 63
327                              FunctionEnd
32843(ComputeShaderFunction3(vf3;vf3;vf3;vi3;):   34(fvec3) Function None 38
329        39(inF0):     35(ptr) FunctionParameter
330        40(inF1):     35(ptr) FunctionParameter
331        41(inF2):     35(ptr) FunctionParameter
332        42(inI0):     37(ptr) FunctionParameter
333              44:             Label
334                              ReturnValue 67
335                              FunctionEnd
33654(@ComputeShaderFunction(vf4;vf4;vf4;vi4;):   45(fvec4) Function None 49
337        50(inF0):     46(ptr) FunctionParameter
338        51(inF1):     46(ptr) FunctionParameter
339        52(inF2):     46(ptr) FunctionParameter
340        53(inI0):     48(ptr) FunctionParameter
341              55:             Label
342                              ReturnValue 71
343                              FunctionEnd
344