Home | History | Annotate | Download | only in baseResults
      1 hlsl.logical.unary.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:12  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
      6 0:12    Function Parameters: 
      7 0:?     Sequence
      8 0:13      Negate conditional ( temp bool)
      9 0:13        Convert int to bool ( temp bool)
     10 0:13          ival: direct index for structure ( uniform int)
     11 0: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})
     12 0:13            Constant:
     13 0:13              0 (const uint)
     14 0:14      Negate conditional ( temp 4-component vector of bool)
     15 0:14        Convert int to bool ( temp 4-component vector of bool)
     16 0:14          ival4: direct index for structure ( uniform 4-component vector of int)
     17 0: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})
     18 0:14            Constant:
     19 0:14              1 (const uint)
     20 0:16      Negate conditional ( temp bool)
     21 0:16        Convert float to bool ( temp bool)
     22 0:16          fval: direct index for structure ( uniform float)
     23 0: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})
     24 0:16            Constant:
     25 0:16              2 (const uint)
     26 0:17      Negate conditional ( temp 4-component vector of bool)
     27 0:17        Convert float to bool ( temp 4-component vector of bool)
     28 0:17          fval4: direct index for structure ( uniform 4-component vector of float)
     29 0: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})
     30 0:17            Constant:
     31 0:17              3 (const uint)
     32 0:19      Test condition and select ( temp void)
     33 0:19        Condition
     34 0:19        Convert int to bool ( temp bool)
     35 0:19          ival: direct index for structure ( uniform int)
     36 0: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})
     37 0:19            Constant:
     38 0:19              0 (const uint)
     39 0:19        true case is null
     40 0:20      Test condition and select ( temp void)
     41 0:20        Condition
     42 0:20        Convert float to bool ( temp bool)
     43 0:20          fval: direct index for structure ( uniform float)
     44 0: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})
     45 0:20            Constant:
     46 0:20              2 (const uint)
     47 0:20        true case is null
     48 0:21      Test condition and select ( temp void)
     49 0:21        Condition
     50 0:21        Negate conditional ( temp bool)
     51 0:21          Convert int to bool ( temp bool)
     52 0:21            ival: direct index for structure ( uniform int)
     53 0: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})
     54 0:21              Constant:
     55 0:21                0 (const uint)
     56 0:21        true case is null
     57 0:22      Test condition and select ( temp void)
     58 0:22        Condition
     59 0:22        Negate conditional ( temp bool)
     60 0:22          Convert float to bool ( temp bool)
     61 0:22            fval: direct index for structure ( uniform float)
     62 0: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})
     63 0:22              Constant:
     64 0:22                2 (const uint)
     65 0:22        true case is null
     66 0:25      move second child to first child ( temp 4-component vector of float)
     67 0:25        Color: direct index for structure ( temp 4-component vector of float)
     68 0:25          'psout' ( temp structure{ temp 4-component vector of float Color})
     69 0:25          Constant:
     70 0:25            0 (const int)
     71 0:25        Constant:
     72 0:25          1.000000
     73 0:25          1.000000
     74 0:25          1.000000
     75 0:25          1.000000
     76 0:26      Branch: Return with expression
     77 0:26        'psout' ( temp structure{ temp 4-component vector of float Color})
     78 0:12  Function Definition: main( ( temp void)
     79 0:12    Function Parameters: 
     80 0:?     Sequence
     81 0:12      Sequence
     82 0:12        move second child to first child ( temp 4-component vector of float)
     83 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
     84 0:12          Color: direct index for structure ( temp 4-component vector of float)
     85 0:12            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
     86 0:12            Constant:
     87 0:12              0 (const int)
     88 0:?   Linker Objects
     89 0:?     '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})
     90 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
     91 
     92 
     93 Linked fragment stage:
     94 
     95 
     96 Shader version: 500
     97 gl_FragCoord origin is upper left
     98 0:? Sequence
     99 0:12  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
    100 0:12    Function Parameters: 
    101 0:?     Sequence
    102 0:13      Negate conditional ( temp bool)
    103 0:13        Convert int to bool ( temp bool)
    104 0:13          ival: direct index for structure ( uniform int)
    105 0: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})
    106 0:13            Constant:
    107 0:13              0 (const uint)
    108 0:14      Negate conditional ( temp 4-component vector of bool)
    109 0:14        Convert int to bool ( temp 4-component vector of bool)
    110 0:14          ival4: direct index for structure ( uniform 4-component vector of int)
    111 0: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})
    112 0:14            Constant:
    113 0:14              1 (const uint)
    114 0:16      Negate conditional ( temp bool)
    115 0:16        Convert float to bool ( temp bool)
    116 0:16          fval: direct index for structure ( uniform float)
    117 0: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})
    118 0:16            Constant:
    119 0:16              2 (const uint)
    120 0:17      Negate conditional ( temp 4-component vector of bool)
    121 0:17        Convert float to bool ( temp 4-component vector of bool)
    122 0:17          fval4: direct index for structure ( uniform 4-component vector of float)
    123 0: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})
    124 0:17            Constant:
    125 0:17              3 (const uint)
    126 0:19      Test condition and select ( temp void)
    127 0:19        Condition
    128 0:19        Convert int to bool ( temp bool)
    129 0:19          ival: direct index for structure ( uniform int)
    130 0: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})
    131 0:19            Constant:
    132 0:19              0 (const uint)
    133 0:19        true case is null
    134 0:20      Test condition and select ( temp void)
    135 0:20        Condition
    136 0:20        Convert float to bool ( temp bool)
    137 0:20          fval: direct index for structure ( uniform float)
    138 0: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})
    139 0:20            Constant:
    140 0:20              2 (const uint)
    141 0:20        true case is null
    142 0:21      Test condition and select ( temp void)
    143 0:21        Condition
    144 0:21        Negate conditional ( temp bool)
    145 0:21          Convert int to bool ( temp bool)
    146 0:21            ival: direct index for structure ( uniform int)
    147 0: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})
    148 0:21              Constant:
    149 0:21                0 (const uint)
    150 0:21        true case is null
    151 0:22      Test condition and select ( temp void)
    152 0:22        Condition
    153 0:22        Negate conditional ( temp bool)
    154 0:22          Convert float to bool ( temp bool)
    155 0:22            fval: direct index for structure ( uniform float)
    156 0: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})
    157 0:22              Constant:
    158 0:22                2 (const uint)
    159 0:22        true case is null
    160 0:25      move second child to first child ( temp 4-component vector of float)
    161 0:25        Color: direct index for structure ( temp 4-component vector of float)
    162 0:25          'psout' ( temp structure{ temp 4-component vector of float Color})
    163 0:25          Constant:
    164 0:25            0 (const int)
    165 0:25        Constant:
    166 0:25          1.000000
    167 0:25          1.000000
    168 0:25          1.000000
    169 0:25          1.000000
    170 0:26      Branch: Return with expression
    171 0:26        'psout' ( temp structure{ temp 4-component vector of float Color})
    172 0:12  Function Definition: main( ( temp void)
    173 0:12    Function Parameters: 
    174 0:?     Sequence
    175 0:12      Sequence
    176 0:12        move second child to first child ( temp 4-component vector of float)
    177 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    178 0:12          Color: direct index for structure ( temp 4-component vector of float)
    179 0:12            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
    180 0:12            Constant:
    181 0:12              0 (const int)
    182 0:?   Linker Objects
    183 0:?     '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})
    184 0:?     '@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 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)
    248 81(@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) FOrdNotEqual 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) FOrdNotEqual 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) FOrdNotEqual 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) FOrdNotEqual 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