Home | History | Annotate | Download | only in baseResults
      1 hlsl.logical.binary.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      Test condition and select ( temp void)
      9 0:13        Condition
     10 0:13        logical-and ( temp bool)
     11 0:13          Convert int to bool ( temp bool)
     12 0:13            ival: direct index for structure ( uniform int)
     13 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})
     14 0:13              Constant:
     15 0:13                0 (const uint)
     16 0:13          Convert float to bool ( temp bool)
     17 0:13            fval: direct index for structure ( uniform float)
     18 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})
     19 0:13              Constant:
     20 0:13                2 (const uint)
     21 0:13        true case is null
     22 0:14      Test condition and select ( temp void)
     23 0:14        Condition
     24 0:14        logical-or ( temp bool)
     25 0:14          Convert int to bool ( temp bool)
     26 0:14            ival: direct index for structure ( uniform int)
     27 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})
     28 0:14              Constant:
     29 0:14                0 (const uint)
     30 0:14          Convert float to bool ( temp bool)
     31 0:14            fval: direct index for structure ( uniform float)
     32 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})
     33 0:14              Constant:
     34 0:14                2 (const uint)
     35 0:14        true case is null
     36 0:17      move second child to first child ( temp 4-component vector of float)
     37 0:17        Color: direct index for structure ( temp 4-component vector of float)
     38 0:17          'psout' ( temp structure{ temp 4-component vector of float Color})
     39 0:17          Constant:
     40 0:17            0 (const int)
     41 0:17        Constant:
     42 0:17          1.000000
     43 0:17          1.000000
     44 0:17          1.000000
     45 0:17          1.000000
     46 0:18      Branch: Return with expression
     47 0:18        'psout' ( temp structure{ temp 4-component vector of float Color})
     48 0:12  Function Definition: main( ( temp void)
     49 0:12    Function Parameters: 
     50 0:?     Sequence
     51 0:12      Sequence
     52 0:12        move second child to first child ( temp 4-component vector of float)
     53 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
     54 0:12          Color: direct index for structure ( temp 4-component vector of float)
     55 0:12            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
     56 0:12            Constant:
     57 0:12              0 (const int)
     58 0:?   Linker Objects
     59 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})
     60 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
     61 
     62 
     63 Linked fragment stage:
     64 
     65 
     66 Shader version: 500
     67 gl_FragCoord origin is upper left
     68 0:? Sequence
     69 0:12  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
     70 0:12    Function Parameters: 
     71 0:?     Sequence
     72 0:13      Test condition and select ( temp void)
     73 0:13        Condition
     74 0:13        logical-and ( temp bool)
     75 0:13          Convert int to bool ( temp bool)
     76 0:13            ival: direct index for structure ( uniform int)
     77 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})
     78 0:13              Constant:
     79 0:13                0 (const uint)
     80 0:13          Convert float to bool ( temp bool)
     81 0:13            fval: direct index for structure ( uniform float)
     82 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})
     83 0:13              Constant:
     84 0:13                2 (const uint)
     85 0:13        true case is null
     86 0:14      Test condition and select ( temp void)
     87 0:14        Condition
     88 0:14        logical-or ( temp bool)
     89 0:14          Convert int to bool ( temp bool)
     90 0:14            ival: direct index for structure ( uniform int)
     91 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})
     92 0:14              Constant:
     93 0:14                0 (const uint)
     94 0:14          Convert float to bool ( temp bool)
     95 0:14            fval: direct index for structure ( uniform float)
     96 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})
     97 0:14              Constant:
     98 0:14                2 (const uint)
     99 0:14        true case is null
    100 0:17      move second child to first child ( temp 4-component vector of float)
    101 0:17        Color: direct index for structure ( temp 4-component vector of float)
    102 0:17          'psout' ( temp structure{ temp 4-component vector of float Color})
    103 0:17          Constant:
    104 0:17            0 (const int)
    105 0:17        Constant:
    106 0:17          1.000000
    107 0:17          1.000000
    108 0:17          1.000000
    109 0:17          1.000000
    110 0:18      Branch: Return with expression
    111 0:18        'psout' ( temp structure{ temp 4-component vector of float Color})
    112 0:12  Function Definition: main( ( temp void)
    113 0:12    Function Parameters: 
    114 0:?     Sequence
    115 0:12      Sequence
    116 0:12        move second child to first child ( temp 4-component vector of float)
    117 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    118 0:12          Color: direct index for structure ( temp 4-component vector of float)
    119 0:12            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
    120 0:12            Constant:
    121 0:12              0 (const int)
    122 0:?   Linker Objects
    123 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})
    124 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    125 
    126 // Module Version 10000
    127 // Generated by (magic number): 80007
    128 // Id's are bound by 56
    129 
    130                               Capability Shader
    131                1:             ExtInstImport  "GLSL.std.450"
    132                               MemoryModel Logical GLSL450
    133                               EntryPoint Fragment 4  "main" 53
    134                               ExecutionMode 4 OriginUpperLeft
    135                               Source HLSL 500
    136                               Name 4  "main"
    137                               Name 8  "PS_OUTPUT"
    138                               MemberName 8(PS_OUTPUT) 0  "Color"
    139                               Name 10  "@main("
    140                               Name 14  "$Global"
    141                               MemberName 14($Global) 0  "ival"
    142                               MemberName 14($Global) 1  "ival4"
    143                               MemberName 14($Global) 2  "fval"
    144                               MemberName 14($Global) 3  "fval4"
    145                               Name 16  ""
    146                               Name 44  "psout"
    147                               Name 53  "@entryPointOutput.Color"
    148                               MemberDecorate 14($Global) 0 Offset 0
    149                               MemberDecorate 14($Global) 1 Offset 16
    150                               MemberDecorate 14($Global) 2 Offset 32
    151                               MemberDecorate 14($Global) 3 Offset 48
    152                               Decorate 14($Global) Block
    153                               Decorate 16 DescriptorSet 0
    154                               Decorate 16 Binding 0
    155                               Decorate 53(@entryPointOutput.Color) Location 0
    156                2:             TypeVoid
    157                3:             TypeFunction 2
    158                6:             TypeFloat 32
    159                7:             TypeVector 6(float) 4
    160     8(PS_OUTPUT):             TypeStruct 7(fvec4)
    161                9:             TypeFunction 8(PS_OUTPUT)
    162               12:             TypeInt 32 1
    163               13:             TypeVector 12(int) 4
    164      14($Global):             TypeStruct 12(int) 13(ivec4) 6(float) 7(fvec4)
    165               15:             TypePointer Uniform 14($Global)
    166               16:     15(ptr) Variable Uniform
    167               17:     12(int) Constant 0
    168               18:             TypePointer Uniform 12(int)
    169               21:             TypeBool
    170               22:             TypeInt 32 0
    171               23:     22(int) Constant 0
    172               25:     12(int) Constant 2
    173               26:             TypePointer Uniform 6(float)
    174               29:    6(float) Constant 0
    175               43:             TypePointer Function 8(PS_OUTPUT)
    176               45:    6(float) Constant 1065353216
    177               46:    7(fvec4) ConstantComposite 45 45 45 45
    178               47:             TypePointer Function 7(fvec4)
    179               52:             TypePointer Output 7(fvec4)
    180 53(@entryPointOutput.Color):     52(ptr) Variable Output
    181          4(main):           2 Function None 3
    182                5:             Label
    183               54:8(PS_OUTPUT) FunctionCall 10(@main()
    184               55:    7(fvec4) CompositeExtract 54 0
    185                               Store 53(@entryPointOutput.Color) 55
    186                               Return
    187                               FunctionEnd
    188       10(@main():8(PS_OUTPUT) Function None 9
    189               11:             Label
    190        44(psout):     43(ptr) Variable Function
    191               19:     18(ptr) AccessChain 16 17
    192               20:     12(int) Load 19
    193               24:    21(bool) INotEqual 20 23
    194               27:     26(ptr) AccessChain 16 25
    195               28:    6(float) Load 27
    196               30:    21(bool) FOrdNotEqual 28 29
    197               31:    21(bool) LogicalAnd 24 30
    198                               SelectionMerge 33 None
    199                               BranchConditional 31 32 33
    200               32:               Label
    201                                 Branch 33
    202               33:             Label
    203               34:     18(ptr) AccessChain 16 17
    204               35:     12(int) Load 34
    205               36:    21(bool) INotEqual 35 23
    206               37:     26(ptr) AccessChain 16 25
    207               38:    6(float) Load 37
    208               39:    21(bool) FOrdNotEqual 38 29
    209               40:    21(bool) LogicalOr 36 39
    210                               SelectionMerge 42 None
    211                               BranchConditional 40 41 42
    212               41:               Label
    213                                 Branch 42
    214               42:             Label
    215               48:     47(ptr) AccessChain 44(psout) 17
    216                               Store 48 46
    217               49:8(PS_OUTPUT) Load 44(psout)
    218                               ReturnValue 49
    219                               FunctionEnd
    220