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): 80007
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 81(@entryPointOutput.Color) Location 0
215               2:             TypeVoid
216               3:             TypeFunction 2
217               6:             TypeFloat 32
218               7:             TypeVector 6(float) 4
219    8(PS_OUTPUT):             TypeStruct 7(fvec4)
220               9:             TypeFunction 8(PS_OUTPUT)
221              12:             TypeInt 32 1
222              13:             TypeVector 12(int) 4
223     14($Global):             TypeStruct 12(int) 13(ivec4) 6(float) 7(fvec4)
224              15:             TypePointer Uniform 14($Global)
225              16:     15(ptr) Variable Uniform
226              17:     12(int) Constant 0
227              18:             TypePointer Uniform 12(int)
228              21:             TypeBool
229              22:             TypeInt 32 0
230              23:     22(int) Constant 0
231              26:     12(int) Constant 1
232              27:             TypePointer Uniform 13(ivec4)
233              30:             TypeVector 21(bool) 4
234              31:             TypeVector 22(int) 4
235              32:   31(ivec4) ConstantComposite 23 23 23 23
236              35:     12(int) Constant 2
237              36:             TypePointer Uniform 6(float)
238              39:    6(float) Constant 0
239              42:     12(int) Constant 3
240              43:             TypePointer Uniform 7(fvec4)
241              46:    7(fvec4) ConstantComposite 39 39 39 39
242              71:             TypePointer Function 8(PS_OUTPUT)
243              73:    6(float) Constant 1065353216
244              74:    7(fvec4) ConstantComposite 73 73 73 73
245              75:             TypePointer Function 7(fvec4)
246              80:             TypePointer Output 7(fvec4)
24781(@entryPointOutput.Color):     80(ptr) Variable Output
248         4(main):           2 Function None 3
249               5:             Label
250              82:8(PS_OUTPUT) FunctionCall 10(@main()
251              83:    7(fvec4) CompositeExtract 82 0
252                              Store 81(@entryPointOutput.Color) 83
253                              Return
254                              FunctionEnd
255      10(@main():8(PS_OUTPUT) Function None 9
256              11:             Label
257       72(psout):     71(ptr) Variable Function
258              19:     18(ptr) AccessChain 16 17
259              20:     12(int) Load 19
260              24:    21(bool) INotEqual 20 23
261              25:    21(bool) LogicalNot 24
262              28:     27(ptr) AccessChain 16 26
263              29:   13(ivec4) Load 28
264              33:   30(bvec4) INotEqual 29 32
265              34:   30(bvec4) LogicalNot 33
266              37:     36(ptr) AccessChain 16 35
267              38:    6(float) Load 37
268              40:    21(bool) FOrdNotEqual 38 39
269              41:    21(bool) LogicalNot 40
270              44:     43(ptr) AccessChain 16 42
271              45:    7(fvec4) Load 44
272              47:   30(bvec4) FOrdNotEqual 45 46
273              48:   30(bvec4) LogicalNot 47
274              49:     18(ptr) AccessChain 16 17
275              50:     12(int) Load 49
276              51:    21(bool) INotEqual 50 23
277                              SelectionMerge 53 None
278                              BranchConditional 51 52 53
279              52:               Label
280                                Branch 53
281              53:             Label
282              54:     36(ptr) AccessChain 16 35
283              55:    6(float) Load 54
284              56:    21(bool) FOrdNotEqual 55 39
285                              SelectionMerge 58 None
286                              BranchConditional 56 57 58
287              57:               Label
288                                Branch 58
289              58:             Label
290              59:     18(ptr) AccessChain 16 17
291              60:     12(int) Load 59
292              61:    21(bool) INotEqual 60 23
293              62:    21(bool) LogicalNot 61
294                              SelectionMerge 64 None
295                              BranchConditional 62 63 64
296              63:               Label
297                                Branch 64
298              64:             Label
299              65:     36(ptr) AccessChain 16 35
300              66:    6(float) Load 65
301              67:    21(bool) FOrdNotEqual 66 39
302              68:    21(bool) LogicalNot 67
303                              SelectionMerge 70 None
304                              BranchConditional 68 69 70
305              69:               Label
306                                Branch 70
307              70:             Label
308              76:     75(ptr) AccessChain 72(psout) 17
309                              Store 76 74
310              77:8(PS_OUTPUT) Load 72(psout)
311                              ReturnValue 77
312                              FunctionEnd
313