• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.logical.unary.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:12  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
60:12    Function Parameters:
70:?     Sequence
80:13      Negate conditional ( temp bool)
90:13        Convert int to bool ( temp bool)
100:13          ival: direct index for structure ( uniform int)
110:13            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
120:13            Constant:
130:13              0 (const uint)
140:14      Negate conditional ( temp 4-component vector of bool)
150:14        Convert int to bool ( temp 4-component vector of bool)
160:14          ival4: direct index for structure ( uniform 4-component vector of int)
170:14            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
180:14            Constant:
190:14              1 (const uint)
200:16      Negate conditional ( temp bool)
210:16        Convert float to bool ( temp bool)
220:16          fval: direct index for structure ( uniform float)
230:16            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
240:16            Constant:
250:16              2 (const uint)
260:17      Negate conditional ( temp 4-component vector of bool)
270:17        Convert float to bool ( temp 4-component vector of bool)
280:17          fval4: direct index for structure ( uniform 4-component vector of float)
290:17            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
300:17            Constant:
310:17              3 (const uint)
320:19      Test condition and select ( temp void)
330:19        Condition
340:19        Convert int to bool ( temp bool)
350:19          ival: direct index for structure ( uniform int)
360:19            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
370:19            Constant:
380:19              0 (const uint)
390:19        true case is null
400:20      Test condition and select ( temp void)
410:20        Condition
420:20        Convert float to bool ( temp bool)
430:20          fval: direct index for structure ( uniform float)
440:20            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
450:20            Constant:
460:20              2 (const uint)
470:20        true case is null
480:21      Test condition and select ( temp void)
490:21        Condition
500:21        Negate conditional ( temp bool)
510:21          Convert int to bool ( temp bool)
520:21            ival: direct index for structure ( uniform int)
530:21              'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
540:21              Constant:
550:21                0 (const uint)
560:21        true case is null
570:22      Test condition and select ( temp void)
580:22        Condition
590:22        Negate conditional ( temp bool)
600:22          Convert float to bool ( temp bool)
610:22            fval: direct index for structure ( uniform float)
620:22              'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
630:22              Constant:
640:22                2 (const uint)
650:22        true case is null
660:25      move second child to first child ( temp 4-component vector of float)
670:25        Color: direct index for structure ( temp 4-component vector of float)
680:25          'psout' ( temp structure{ temp 4-component vector of float Color})
690:25          Constant:
700:25            0 (const int)
710:25        Constant:
720:25          1.000000
730:25          1.000000
740:25          1.000000
750:25          1.000000
760:26      Branch: Return with expression
770:26        'psout' ( temp structure{ temp 4-component vector of float Color})
780:12  Function Definition: main( ( temp void)
790:12    Function Parameters:
800:?     Sequence
810:12      Sequence
820:12        move second child to first child ( temp 4-component vector of float)
830:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
840:12          Color: direct index for structure ( temp 4-component vector of float)
850:12            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
860:12            Constant:
870:12              0 (const int)
880:?   Linker Objects
890:?     'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
900:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
91
92
93Linked fragment stage:
94
95
96Shader version: 500
97gl_FragCoord origin is upper left
980:? Sequence
990:12  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
1000:12    Function Parameters:
1010:?     Sequence
1020:13      Negate conditional ( temp bool)
1030:13        Convert int to bool ( temp bool)
1040:13          ival: direct index for structure ( uniform int)
1050:13            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1060:13            Constant:
1070:13              0 (const uint)
1080:14      Negate conditional ( temp 4-component vector of bool)
1090:14        Convert int to bool ( temp 4-component vector of bool)
1100:14          ival4: direct index for structure ( uniform 4-component vector of int)
1110:14            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1120:14            Constant:
1130:14              1 (const uint)
1140:16      Negate conditional ( temp bool)
1150:16        Convert float to bool ( temp bool)
1160:16          fval: direct index for structure ( uniform float)
1170:16            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1180:16            Constant:
1190:16              2 (const uint)
1200:17      Negate conditional ( temp 4-component vector of bool)
1210:17        Convert float to bool ( temp 4-component vector of bool)
1220:17          fval4: direct index for structure ( uniform 4-component vector of float)
1230:17            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1240:17            Constant:
1250:17              3 (const uint)
1260:19      Test condition and select ( temp void)
1270:19        Condition
1280:19        Convert int to bool ( temp bool)
1290:19          ival: direct index for structure ( uniform int)
1300:19            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1310:19            Constant:
1320:19              0 (const uint)
1330:19        true case is null
1340:20      Test condition and select ( temp void)
1350:20        Condition
1360:20        Convert float to bool ( temp bool)
1370:20          fval: direct index for structure ( uniform float)
1380:20            'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1390:20            Constant:
1400:20              2 (const uint)
1410:20        true case is null
1420:21      Test condition and select ( temp void)
1430:21        Condition
1440:21        Negate conditional ( temp bool)
1450:21          Convert int to bool ( temp bool)
1460:21            ival: direct index for structure ( uniform int)
1470:21              'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1480:21              Constant:
1490:21                0 (const uint)
1500:21        true case is null
1510:22      Test condition and select ( temp void)
1520:22        Condition
1530:22        Negate conditional ( temp bool)
1540:22          Convert float to bool ( temp bool)
1550:22            fval: direct index for structure ( uniform float)
1560:22              'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1570:22              Constant:
1580:22                2 (const uint)
1590:22        true case is null
1600:25      move second child to first child ( temp 4-component vector of float)
1610:25        Color: direct index for structure ( temp 4-component vector of float)
1620:25          'psout' ( temp structure{ temp 4-component vector of float Color})
1630:25          Constant:
1640:25            0 (const int)
1650:25        Constant:
1660:25          1.000000
1670:25          1.000000
1680:25          1.000000
1690:25          1.000000
1700:26      Branch: Return with expression
1710:26        'psout' ( temp structure{ temp 4-component vector of float Color})
1720:12  Function Definition: main( ( temp void)
1730:12    Function Parameters:
1740:?     Sequence
1750:12      Sequence
1760:12        move second child to first child ( temp 4-component vector of float)
1770:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
1780:12          Color: direct index for structure ( temp 4-component vector of float)
1790:12            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
1800:12            Constant:
1810:12              0 (const int)
1820:?   Linker Objects
1830:?     'anon@0' (layout( row_major std140) uniform block{ uniform int ival,  uniform 4-component vector of int ival4,  uniform float fval,  uniform 4-component vector of float fval4})
1840:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
185
186// Module Version 10000
187// Generated by (magic number): 8000a
188// Id's are bound by 84
189
190                              Capability Shader
191               1:             ExtInstImport  "GLSL.std.450"
192                              MemoryModel Logical GLSL450
193                              EntryPoint Fragment 4  "main" 81
194                              ExecutionMode 4 OriginUpperLeft
195                              Source HLSL 500
196                              Name 4  "main"
197                              Name 8  "PS_OUTPUT"
198                              MemberName 8(PS_OUTPUT) 0  "Color"
199                              Name 10  "@main("
200                              Name 14  "$Global"
201                              MemberName 14($Global) 0  "ival"
202                              MemberName 14($Global) 1  "ival4"
203                              MemberName 14($Global) 2  "fval"
204                              MemberName 14($Global) 3  "fval4"
205                              Name 16  ""
206                              Name 72  "psout"
207                              Name 81  "@entryPointOutput.Color"
208                              MemberDecorate 14($Global) 0 Offset 0
209                              MemberDecorate 14($Global) 1 Offset 16
210                              MemberDecorate 14($Global) 2 Offset 32
211                              MemberDecorate 14($Global) 3 Offset 48
212                              Decorate 14($Global) Block
213                              Decorate 16 DescriptorSet 0
214                              Decorate 16 Binding 0
215                              Decorate 81(@entryPointOutput.Color) Location 0
216               2:             TypeVoid
217               3:             TypeFunction 2
218               6:             TypeFloat 32
219               7:             TypeVector 6(float) 4
220    8(PS_OUTPUT):             TypeStruct 7(fvec4)
221               9:             TypeFunction 8(PS_OUTPUT)
222              12:             TypeInt 32 1
223              13:             TypeVector 12(int) 4
224     14($Global):             TypeStruct 12(int) 13(ivec4) 6(float) 7(fvec4)
225              15:             TypePointer Uniform 14($Global)
226              16:     15(ptr) Variable Uniform
227              17:     12(int) Constant 0
228              18:             TypePointer Uniform 12(int)
229              21:             TypeBool
230              22:             TypeInt 32 0
231              23:     22(int) Constant 0
232              26:     12(int) Constant 1
233              27:             TypePointer Uniform 13(ivec4)
234              30:             TypeVector 21(bool) 4
235              31:             TypeVector 22(int) 4
236              32:   31(ivec4) ConstantComposite 23 23 23 23
237              35:     12(int) Constant 2
238              36:             TypePointer Uniform 6(float)
239              39:    6(float) Constant 0
240              42:     12(int) Constant 3
241              43:             TypePointer Uniform 7(fvec4)
242              46:    7(fvec4) ConstantComposite 39 39 39 39
243              71:             TypePointer Function 8(PS_OUTPUT)
244              73:    6(float) Constant 1065353216
245              74:    7(fvec4) ConstantComposite 73 73 73 73
246              75:             TypePointer Function 7(fvec4)
247              80:             TypePointer Output 7(fvec4)
24881(@entryPointOutput.Color):     80(ptr) Variable Output
249         4(main):           2 Function None 3
250               5:             Label
251              82:8(PS_OUTPUT) FunctionCall 10(@main()
252              83:    7(fvec4) CompositeExtract 82 0
253                              Store 81(@entryPointOutput.Color) 83
254                              Return
255                              FunctionEnd
256      10(@main():8(PS_OUTPUT) Function None 9
257              11:             Label
258       72(psout):     71(ptr) Variable Function
259              19:     18(ptr) AccessChain 16 17
260              20:     12(int) Load 19
261              24:    21(bool) INotEqual 20 23
262              25:    21(bool) LogicalNot 24
263              28:     27(ptr) AccessChain 16 26
264              29:   13(ivec4) Load 28
265              33:   30(bvec4) INotEqual 29 32
266              34:   30(bvec4) LogicalNot 33
267              37:     36(ptr) AccessChain 16 35
268              38:    6(float) Load 37
269              40:    21(bool) FUnordNotEqual 38 39
270              41:    21(bool) LogicalNot 40
271              44:     43(ptr) AccessChain 16 42
272              45:    7(fvec4) Load 44
273              47:   30(bvec4) FUnordNotEqual 45 46
274              48:   30(bvec4) LogicalNot 47
275              49:     18(ptr) AccessChain 16 17
276              50:     12(int) Load 49
277              51:    21(bool) INotEqual 50 23
278                              SelectionMerge 53 None
279                              BranchConditional 51 52 53
280              52:               Label
281                                Branch 53
282              53:             Label
283              54:     36(ptr) AccessChain 16 35
284              55:    6(float) Load 54
285              56:    21(bool) FUnordNotEqual 55 39
286                              SelectionMerge 58 None
287                              BranchConditional 56 57 58
288              57:               Label
289                                Branch 58
290              58:             Label
291              59:     18(ptr) AccessChain 16 17
292              60:     12(int) Load 59
293              61:    21(bool) INotEqual 60 23
294              62:    21(bool) LogicalNot 61
295                              SelectionMerge 64 None
296                              BranchConditional 62 63 64
297              63:               Label
298                                Branch 64
299              64:             Label
300              65:     36(ptr) AccessChain 16 35
301              66:    6(float) Load 65
302              67:    21(bool) FUnordNotEqual 66 39
303              68:    21(bool) LogicalNot 67
304                              SelectionMerge 70 None
305                              BranchConditional 68 69 70
306              69:               Label
307                                Branch 70
308              70:             Label
309              76:     75(ptr) AccessChain 72(psout) 17
310                              Store 76 74
311              77:8(PS_OUTPUT) Load 72(psout)
312                              ReturnValue 77
313                              FunctionEnd
314