Home | History | Annotate | Download | only in baseResults
      1 hlsl.comparison.vec.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:4  Function Definition: Bug1(vf4; ( temp void)
      6 0:4    Function Parameters: 
      7 0:4      'a' ( in 4-component vector of float)
      8 0:?     Sequence
      9 0:5      Sequence
     10 0:5        move second child to first child ( temp 4-component vector of float)
     11 0:5          'v04' ( temp 4-component vector of float)
     12 0:?           Constant:
     13 0:?             0.000000
     14 0:?             0.000000
     15 0:?             0.000000
     16 0:?             0.000000
     17 0:6      Sequence
     18 0:6        move second child to first child ( temp float)
     19 0:6          'v01' ( temp float)
     20 0:6          Constant:
     21 0:6            0.000000
     22 0:8      Sequence
     23 0:8        move second child to first child ( temp 4-component vector of bool)
     24 0:8          'r00' ( temp 4-component vector of bool)
     25 0:8          Equal ( temp 4-component vector of bool)
     26 0:8            'a' ( in 4-component vector of float)
     27 0:8            'v04' ( temp 4-component vector of float)
     28 0:9      Sequence
     29 0:9        move second child to first child ( temp 4-component vector of bool)
     30 0:9          'r01' ( temp 4-component vector of bool)
     31 0:9          NotEqual ( temp 4-component vector of bool)
     32 0:9            'a' ( in 4-component vector of float)
     33 0:9            'v04' ( temp 4-component vector of float)
     34 0:10      Sequence
     35 0:10        move second child to first child ( temp 4-component vector of bool)
     36 0:10          'r02' ( temp 4-component vector of bool)
     37 0:10          Compare Less Than ( temp 4-component vector of bool)
     38 0:10            'a' ( in 4-component vector of float)
     39 0:10            'v04' ( temp 4-component vector of float)
     40 0:11      Sequence
     41 0:11        move second child to first child ( temp 4-component vector of bool)
     42 0:11          'r03' ( temp 4-component vector of bool)
     43 0:11          Compare Greater Than ( temp 4-component vector of bool)
     44 0:11            'a' ( in 4-component vector of float)
     45 0:11            'v04' ( temp 4-component vector of float)
     46 0:13      Sequence
     47 0:13        move second child to first child ( temp 4-component vector of bool)
     48 0:13          'r10' ( temp 4-component vector of bool)
     49 0:13          Equal ( temp 4-component vector of bool)
     50 0:13            'a' ( in 4-component vector of float)
     51 0:13            Construct vec4 ( in 4-component vector of float)
     52 0:13              'v01' ( temp float)
     53 0:14      Sequence
     54 0:14        move second child to first child ( temp 4-component vector of bool)
     55 0:14          'r11' ( temp 4-component vector of bool)
     56 0:14          NotEqual ( temp 4-component vector of bool)
     57 0:14            'a' ( in 4-component vector of float)
     58 0:14            Construct vec4 ( in 4-component vector of float)
     59 0:14              'v01' ( temp float)
     60 0:15      Sequence
     61 0:15        move second child to first child ( temp 4-component vector of bool)
     62 0:15          'r12' ( temp 4-component vector of bool)
     63 0:15          Compare Less Than ( temp 4-component vector of bool)
     64 0:15            'a' ( in 4-component vector of float)
     65 0:15            Construct vec4 ( in 4-component vector of float)
     66 0:15              'v01' ( temp float)
     67 0:16      Sequence
     68 0:16        move second child to first child ( temp 4-component vector of bool)
     69 0:16          'r13' ( temp 4-component vector of bool)
     70 0:16          Compare Greater Than ( temp 4-component vector of bool)
     71 0:16            'a' ( in 4-component vector of float)
     72 0:16            Construct vec4 ( in 4-component vector of float)
     73 0:16              'v01' ( temp float)
     74 0:18      Sequence
     75 0:18        move second child to first child ( temp 4-component vector of bool)
     76 0:18          'r20' ( temp 4-component vector of bool)
     77 0:18          Equal ( temp 4-component vector of bool)
     78 0:18            Construct vec4 ( in 4-component vector of float)
     79 0:18              'v01' ( temp float)
     80 0:18            'a' ( in 4-component vector of float)
     81 0:19      Sequence
     82 0:19        move second child to first child ( temp 4-component vector of bool)
     83 0:19          'r21' ( temp 4-component vector of bool)
     84 0:19          NotEqual ( temp 4-component vector of bool)
     85 0:19            Construct vec4 ( in 4-component vector of float)
     86 0:19              'v01' ( temp float)
     87 0:19            'a' ( in 4-component vector of float)
     88 0:20      Sequence
     89 0:20        move second child to first child ( temp 4-component vector of bool)
     90 0:20          'r22' ( temp 4-component vector of bool)
     91 0:20          Compare Less Than ( temp 4-component vector of bool)
     92 0:20            Construct vec4 ( in 4-component vector of float)
     93 0:20              'v01' ( temp float)
     94 0:20            'a' ( in 4-component vector of float)
     95 0:21      Sequence
     96 0:21        move second child to first child ( temp 4-component vector of bool)
     97 0:21          'r23' ( temp 4-component vector of bool)
     98 0:21          Compare Greater Than ( temp 4-component vector of bool)
     99 0:21            Construct vec4 ( in 4-component vector of float)
    100 0:21              'v01' ( temp float)
    101 0:21            'a' ( in 4-component vector of float)
    102 0:30  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
    103 0:30    Function Parameters: 
    104 0:?     Sequence
    105 0:32      move second child to first child ( temp 4-component vector of float)
    106 0:32        Color: direct index for structure ( temp 4-component vector of float)
    107 0:32          'psout' ( temp structure{ temp 4-component vector of float Color})
    108 0:32          Constant:
    109 0:32            0 (const int)
    110 0:32        Constant:
    111 0:32          0.000000
    112 0:32          0.000000
    113 0:32          0.000000
    114 0:32          0.000000
    115 0:33      Branch: Return with expression
    116 0:33        'psout' ( temp structure{ temp 4-component vector of float Color})
    117 0:30  Function Definition: main( ( temp void)
    118 0:30    Function Parameters: 
    119 0:?     Sequence
    120 0:30      Sequence
    121 0:30        move second child to first child ( temp 4-component vector of float)
    122 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    123 0:30          Color: direct index for structure ( temp 4-component vector of float)
    124 0:30            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
    125 0:30            Constant:
    126 0:30              0 (const int)
    127 0:?   Linker Objects
    128 0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
    129 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    130 
    131 
    132 Linked fragment stage:
    133 
    134 
    135 Shader version: 500
    136 gl_FragCoord origin is upper left
    137 0:? Sequence
    138 0:4  Function Definition: Bug1(vf4; ( temp void)
    139 0:4    Function Parameters: 
    140 0:4      'a' ( in 4-component vector of float)
    141 0:?     Sequence
    142 0:5      Sequence
    143 0:5        move second child to first child ( temp 4-component vector of float)
    144 0:5          'v04' ( temp 4-component vector of float)
    145 0:?           Constant:
    146 0:?             0.000000
    147 0:?             0.000000
    148 0:?             0.000000
    149 0:?             0.000000
    150 0:6      Sequence
    151 0:6        move second child to first child ( temp float)
    152 0:6          'v01' ( temp float)
    153 0:6          Constant:
    154 0:6            0.000000
    155 0:8      Sequence
    156 0:8        move second child to first child ( temp 4-component vector of bool)
    157 0:8          'r00' ( temp 4-component vector of bool)
    158 0:8          Equal ( temp 4-component vector of bool)
    159 0:8            'a' ( in 4-component vector of float)
    160 0:8            'v04' ( temp 4-component vector of float)
    161 0:9      Sequence
    162 0:9        move second child to first child ( temp 4-component vector of bool)
    163 0:9          'r01' ( temp 4-component vector of bool)
    164 0:9          NotEqual ( temp 4-component vector of bool)
    165 0:9            'a' ( in 4-component vector of float)
    166 0:9            'v04' ( temp 4-component vector of float)
    167 0:10      Sequence
    168 0:10        move second child to first child ( temp 4-component vector of bool)
    169 0:10          'r02' ( temp 4-component vector of bool)
    170 0:10          Compare Less Than ( temp 4-component vector of bool)
    171 0:10            'a' ( in 4-component vector of float)
    172 0:10            'v04' ( temp 4-component vector of float)
    173 0:11      Sequence
    174 0:11        move second child to first child ( temp 4-component vector of bool)
    175 0:11          'r03' ( temp 4-component vector of bool)
    176 0:11          Compare Greater Than ( temp 4-component vector of bool)
    177 0:11            'a' ( in 4-component vector of float)
    178 0:11            'v04' ( temp 4-component vector of float)
    179 0:13      Sequence
    180 0:13        move second child to first child ( temp 4-component vector of bool)
    181 0:13          'r10' ( temp 4-component vector of bool)
    182 0:13          Equal ( temp 4-component vector of bool)
    183 0:13            'a' ( in 4-component vector of float)
    184 0:13            Construct vec4 ( in 4-component vector of float)
    185 0:13              'v01' ( temp float)
    186 0:14      Sequence
    187 0:14        move second child to first child ( temp 4-component vector of bool)
    188 0:14          'r11' ( temp 4-component vector of bool)
    189 0:14          NotEqual ( temp 4-component vector of bool)
    190 0:14            'a' ( in 4-component vector of float)
    191 0:14            Construct vec4 ( in 4-component vector of float)
    192 0:14              'v01' ( temp float)
    193 0:15      Sequence
    194 0:15        move second child to first child ( temp 4-component vector of bool)
    195 0:15          'r12' ( temp 4-component vector of bool)
    196 0:15          Compare Less Than ( temp 4-component vector of bool)
    197 0:15            'a' ( in 4-component vector of float)
    198 0:15            Construct vec4 ( in 4-component vector of float)
    199 0:15              'v01' ( temp float)
    200 0:16      Sequence
    201 0:16        move second child to first child ( temp 4-component vector of bool)
    202 0:16          'r13' ( temp 4-component vector of bool)
    203 0:16          Compare Greater Than ( temp 4-component vector of bool)
    204 0:16            'a' ( in 4-component vector of float)
    205 0:16            Construct vec4 ( in 4-component vector of float)
    206 0:16              'v01' ( temp float)
    207 0:18      Sequence
    208 0:18        move second child to first child ( temp 4-component vector of bool)
    209 0:18          'r20' ( temp 4-component vector of bool)
    210 0:18          Equal ( temp 4-component vector of bool)
    211 0:18            Construct vec4 ( in 4-component vector of float)
    212 0:18              'v01' ( temp float)
    213 0:18            'a' ( in 4-component vector of float)
    214 0:19      Sequence
    215 0:19        move second child to first child ( temp 4-component vector of bool)
    216 0:19          'r21' ( temp 4-component vector of bool)
    217 0:19          NotEqual ( temp 4-component vector of bool)
    218 0:19            Construct vec4 ( in 4-component vector of float)
    219 0:19              'v01' ( temp float)
    220 0:19            'a' ( in 4-component vector of float)
    221 0:20      Sequence
    222 0:20        move second child to first child ( temp 4-component vector of bool)
    223 0:20          'r22' ( temp 4-component vector of bool)
    224 0:20          Compare Less Than ( temp 4-component vector of bool)
    225 0:20            Construct vec4 ( in 4-component vector of float)
    226 0:20              'v01' ( temp float)
    227 0:20            'a' ( in 4-component vector of float)
    228 0:21      Sequence
    229 0:21        move second child to first child ( temp 4-component vector of bool)
    230 0:21          'r23' ( temp 4-component vector of bool)
    231 0:21          Compare Greater Than ( temp 4-component vector of bool)
    232 0:21            Construct vec4 ( in 4-component vector of float)
    233 0:21              'v01' ( temp float)
    234 0:21            'a' ( in 4-component vector of float)
    235 0:30  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
    236 0:30    Function Parameters: 
    237 0:?     Sequence
    238 0:32      move second child to first child ( temp 4-component vector of float)
    239 0:32        Color: direct index for structure ( temp 4-component vector of float)
    240 0:32          'psout' ( temp structure{ temp 4-component vector of float Color})
    241 0:32          Constant:
    242 0:32            0 (const int)
    243 0:32        Constant:
    244 0:32          0.000000
    245 0:32          0.000000
    246 0:32          0.000000
    247 0:32          0.000000
    248 0:33      Branch: Return with expression
    249 0:33        'psout' ( temp structure{ temp 4-component vector of float Color})
    250 0:30  Function Definition: main( ( temp void)
    251 0:30    Function Parameters: 
    252 0:?     Sequence
    253 0:30      Sequence
    254 0:30        move second child to first child ( temp 4-component vector of float)
    255 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    256 0:30          Color: direct index for structure ( temp 4-component vector of float)
    257 0:30            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
    258 0:30            Constant:
    259 0:30              0 (const int)
    260 0:?   Linker Objects
    261 0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
    262 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    263 
    264 // Module Version 10000
    265 // Generated by (magic number): 80007
    266 // Id's are bound by 96
    267 
    268                               Capability Shader
    269                1:             ExtInstImport  "GLSL.std.450"
    270                               MemoryModel Logical GLSL450
    271                               EntryPoint Fragment 4  "main" 90
    272                               ExecutionMode 4 OriginUpperLeft
    273                               Source HLSL 500
    274                               Name 4  "main"
    275                               Name 11  "Bug1(vf4;"
    276                               Name 10  "a"
    277                               Name 13  "PS_OUTPUT"
    278                               MemberName 13(PS_OUTPUT) 0  "Color"
    279                               Name 15  "@main("
    280                               Name 17  "v04"
    281                               Name 21  "v01"
    282                               Name 25  "r00"
    283                               Name 29  "r01"
    284                               Name 33  "r02"
    285                               Name 37  "r03"
    286                               Name 41  "r10"
    287                               Name 46  "r11"
    288                               Name 51  "r12"
    289                               Name 56  "r13"
    290                               Name 61  "r20"
    291                               Name 66  "r21"
    292                               Name 71  "r22"
    293                               Name 76  "r23"
    294                               Name 82  "psout"
    295                               Name 90  "@entryPointOutput.Color"
    296                               Name 93  "$Global"
    297                               MemberName 93($Global) 0  "uf4"
    298                               Name 95  ""
    299                               Decorate 90(@entryPointOutput.Color) Location 0
    300                               MemberDecorate 93($Global) 0 Offset 0
    301                               Decorate 93($Global) Block
    302                               Decorate 95 DescriptorSet 0
    303                               Decorate 95 Binding 0
    304                2:             TypeVoid
    305                3:             TypeFunction 2
    306                6:             TypeFloat 32
    307                7:             TypeVector 6(float) 4
    308                8:             TypePointer Function 7(fvec4)
    309                9:             TypeFunction 2 8(ptr)
    310    13(PS_OUTPUT):             TypeStruct 7(fvec4)
    311               14:             TypeFunction 13(PS_OUTPUT)
    312               18:    6(float) Constant 0
    313               19:    7(fvec4) ConstantComposite 18 18 18 18
    314               20:             TypePointer Function 6(float)
    315               22:             TypeBool
    316               23:             TypeVector 22(bool) 4
    317               24:             TypePointer Function 23(bvec4)
    318               81:             TypePointer Function 13(PS_OUTPUT)
    319               83:             TypeInt 32 1
    320               84:     83(int) Constant 0
    321               89:             TypePointer Output 7(fvec4)
    322 90(@entryPointOutput.Color):     89(ptr) Variable Output
    323      93($Global):             TypeStruct 7(fvec4)
    324               94:             TypePointer Uniform 93($Global)
    325               95:     94(ptr) Variable Uniform
    326          4(main):           2 Function None 3
    327                5:             Label
    328               91:13(PS_OUTPUT) FunctionCall 15(@main()
    329               92:    7(fvec4) CompositeExtract 91 0
    330                               Store 90(@entryPointOutput.Color) 92
    331                               Return
    332                               FunctionEnd
    333    11(Bug1(vf4;):           2 Function None 9
    334            10(a):      8(ptr) FunctionParameter
    335               12:             Label
    336          17(v04):      8(ptr) Variable Function
    337          21(v01):     20(ptr) Variable Function
    338          25(r00):     24(ptr) Variable Function
    339          29(r01):     24(ptr) Variable Function
    340          33(r02):     24(ptr) Variable Function
    341          37(r03):     24(ptr) Variable Function
    342          41(r10):     24(ptr) Variable Function
    343          46(r11):     24(ptr) Variable Function
    344          51(r12):     24(ptr) Variable Function
    345          56(r13):     24(ptr) Variable Function
    346          61(r20):     24(ptr) Variable Function
    347          66(r21):     24(ptr) Variable Function
    348          71(r22):     24(ptr) Variable Function
    349          76(r23):     24(ptr) Variable Function
    350                               Store 17(v04) 19
    351                               Store 21(v01) 18
    352               26:    7(fvec4) Load 10(a)
    353               27:    7(fvec4) Load 17(v04)
    354               28:   23(bvec4) FOrdEqual 26 27
    355                               Store 25(r00) 28
    356               30:    7(fvec4) Load 10(a)
    357               31:    7(fvec4) Load 17(v04)
    358               32:   23(bvec4) FOrdNotEqual 30 31
    359                               Store 29(r01) 32
    360               34:    7(fvec4) Load 10(a)
    361               35:    7(fvec4) Load 17(v04)
    362               36:   23(bvec4) FOrdLessThan 34 35
    363                               Store 33(r02) 36
    364               38:    7(fvec4) Load 10(a)
    365               39:    7(fvec4) Load 17(v04)
    366               40:   23(bvec4) FOrdGreaterThan 38 39
    367                               Store 37(r03) 40
    368               42:    7(fvec4) Load 10(a)
    369               43:    6(float) Load 21(v01)
    370               44:    7(fvec4) CompositeConstruct 43 43 43 43
    371               45:   23(bvec4) FOrdEqual 42 44
    372                               Store 41(r10) 45
    373               47:    7(fvec4) Load 10(a)
    374               48:    6(float) Load 21(v01)
    375               49:    7(fvec4) CompositeConstruct 48 48 48 48
    376               50:   23(bvec4) FOrdNotEqual 47 49
    377                               Store 46(r11) 50
    378               52:    7(fvec4) Load 10(a)
    379               53:    6(float) Load 21(v01)
    380               54:    7(fvec4) CompositeConstruct 53 53 53 53
    381               55:   23(bvec4) FOrdLessThan 52 54
    382                               Store 51(r12) 55
    383               57:    7(fvec4) Load 10(a)
    384               58:    6(float) Load 21(v01)
    385               59:    7(fvec4) CompositeConstruct 58 58 58 58
    386               60:   23(bvec4) FOrdGreaterThan 57 59
    387                               Store 56(r13) 60
    388               62:    6(float) Load 21(v01)
    389               63:    7(fvec4) CompositeConstruct 62 62 62 62
    390               64:    7(fvec4) Load 10(a)
    391               65:   23(bvec4) FOrdEqual 63 64
    392                               Store 61(r20) 65
    393               67:    6(float) Load 21(v01)
    394               68:    7(fvec4) CompositeConstruct 67 67 67 67
    395               69:    7(fvec4) Load 10(a)
    396               70:   23(bvec4) FOrdNotEqual 68 69
    397                               Store 66(r21) 70
    398               72:    6(float) Load 21(v01)
    399               73:    7(fvec4) CompositeConstruct 72 72 72 72
    400               74:    7(fvec4) Load 10(a)
    401               75:   23(bvec4) FOrdLessThan 73 74
    402                               Store 71(r22) 75
    403               77:    6(float) Load 21(v01)
    404               78:    7(fvec4) CompositeConstruct 77 77 77 77
    405               79:    7(fvec4) Load 10(a)
    406               80:   23(bvec4) FOrdGreaterThan 78 79
    407                               Store 76(r23) 80
    408                               Return
    409                               FunctionEnd
    410       15(@main():13(PS_OUTPUT) Function None 14
    411               16:             Label
    412        82(psout):     81(ptr) Variable Function
    413               85:      8(ptr) AccessChain 82(psout) 84
    414                               Store 85 19
    415               86:13(PS_OUTPUT) Load 82(psout)
    416                               ReturnValue 86
    417                               FunctionEnd
    418