Home | History | Annotate | Download | only in baseResults
      1 hlsl.matNx1.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:3  Function Definition: TestMatNx1( ( temp void)
      6 0:3    Function Parameters: 
      7 0:?     Sequence
      8 0:13      Sequence
      9 0:13        move second child to first child ( temp 1X1 matrix of float)
     10 0:13          'r00' ( temp 1X1 matrix of float)
     11 0:13          transpose ( temp 1X1 matrix of float)
     12 0:13            'f1x1' ( temp 1X1 matrix of float)
     13 0:14      Sequence
     14 0:14        move second child to first child ( temp 1X2 matrix of float)
     15 0:14          'r01' ( temp 1X2 matrix of float)
     16 0:14          transpose ( temp 1X2 matrix of float)
     17 0:14            'f2x1' ( temp 2X1 matrix of float)
     18 0:15      Sequence
     19 0:15        move second child to first child ( temp 1X3 matrix of float)
     20 0:15          'r02' ( temp 1X3 matrix of float)
     21 0:15          transpose ( temp 1X3 matrix of float)
     22 0:15            'f3x1' ( temp 3X1 matrix of float)
     23 0:16      Sequence
     24 0:16        move second child to first child ( temp 1X4 matrix of float)
     25 0:16          'r03' ( temp 1X4 matrix of float)
     26 0:16          transpose ( temp 1X4 matrix of float)
     27 0:16            'f4x1' ( temp 4X1 matrix of float)
     28 0:18      Sequence
     29 0:18        move second child to first child ( temp 1X1 matrix of float)
     30 0:18          'r10' ( temp 1X1 matrix of float)
     31 0:18          transpose ( temp 1X1 matrix of float)
     32 0:18            'f1x1' ( temp 1X1 matrix of float)
     33 0:19      Sequence
     34 0:19        move second child to first child ( temp 2X1 matrix of float)
     35 0:19          'r11' ( temp 2X1 matrix of float)
     36 0:19          transpose ( temp 2X1 matrix of float)
     37 0:19            'f1x2' ( temp 1X2 matrix of float)
     38 0:20      Sequence
     39 0:20        move second child to first child ( temp 3X1 matrix of float)
     40 0:20          'r12' ( temp 3X1 matrix of float)
     41 0:20          transpose ( temp 3X1 matrix of float)
     42 0:20            'f1x3' ( temp 1X3 matrix of float)
     43 0:21      Sequence
     44 0:21        move second child to first child ( temp 4X1 matrix of float)
     45 0:21          'r13' ( temp 4X1 matrix of float)
     46 0:21          transpose ( temp 4X1 matrix of float)
     47 0:21            'f1x4' ( temp 1X4 matrix of float)
     48 0:27  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
     49 0:27    Function Parameters: 
     50 0:?     Sequence
     51 0:29      move second child to first child ( temp 4-component vector of float)
     52 0:29        color: direct index for structure ( temp 4-component vector of float)
     53 0:29          'ps_output' ( temp structure{ temp 4-component vector of float color})
     54 0:29          Constant:
     55 0:29            0 (const int)
     56 0:29        Constant:
     57 0:29          1.000000
     58 0:29          1.000000
     59 0:29          1.000000
     60 0:29          1.000000
     61 0:30      Branch: Return with expression
     62 0:30        'ps_output' ( temp structure{ temp 4-component vector of float color})
     63 0:27  Function Definition: main( ( temp void)
     64 0:27    Function Parameters: 
     65 0:?     Sequence
     66 0:27      Sequence
     67 0:27        move second child to first child ( temp 4-component vector of float)
     68 0:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
     69 0:27          color: direct index for structure ( temp 4-component vector of float)
     70 0:27            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
     71 0:27            Constant:
     72 0:27              0 (const int)
     73 0:?   Linker Objects
     74 0:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
     75 
     76 
     77 Linked fragment stage:
     78 
     79 
     80 Shader version: 500
     81 gl_FragCoord origin is upper left
     82 0:? Sequence
     83 0:3  Function Definition: TestMatNx1( ( temp void)
     84 0:3    Function Parameters: 
     85 0:?     Sequence
     86 0:13      Sequence
     87 0:13        move second child to first child ( temp 1X1 matrix of float)
     88 0:13          'r00' ( temp 1X1 matrix of float)
     89 0:13          transpose ( temp 1X1 matrix of float)
     90 0:13            'f1x1' ( temp 1X1 matrix of float)
     91 0:14      Sequence
     92 0:14        move second child to first child ( temp 1X2 matrix of float)
     93 0:14          'r01' ( temp 1X2 matrix of float)
     94 0:14          transpose ( temp 1X2 matrix of float)
     95 0:14            'f2x1' ( temp 2X1 matrix of float)
     96 0:15      Sequence
     97 0:15        move second child to first child ( temp 1X3 matrix of float)
     98 0:15          'r02' ( temp 1X3 matrix of float)
     99 0:15          transpose ( temp 1X3 matrix of float)
    100 0:15            'f3x1' ( temp 3X1 matrix of float)
    101 0:16      Sequence
    102 0:16        move second child to first child ( temp 1X4 matrix of float)
    103 0:16          'r03' ( temp 1X4 matrix of float)
    104 0:16          transpose ( temp 1X4 matrix of float)
    105 0:16            'f4x1' ( temp 4X1 matrix of float)
    106 0:18      Sequence
    107 0:18        move second child to first child ( temp 1X1 matrix of float)
    108 0:18          'r10' ( temp 1X1 matrix of float)
    109 0:18          transpose ( temp 1X1 matrix of float)
    110 0:18            'f1x1' ( temp 1X1 matrix of float)
    111 0:19      Sequence
    112 0:19        move second child to first child ( temp 2X1 matrix of float)
    113 0:19          'r11' ( temp 2X1 matrix of float)
    114 0:19          transpose ( temp 2X1 matrix of float)
    115 0:19            'f1x2' ( temp 1X2 matrix of float)
    116 0:20      Sequence
    117 0:20        move second child to first child ( temp 3X1 matrix of float)
    118 0:20          'r12' ( temp 3X1 matrix of float)
    119 0:20          transpose ( temp 3X1 matrix of float)
    120 0:20            'f1x3' ( temp 1X3 matrix of float)
    121 0:21      Sequence
    122 0:21        move second child to first child ( temp 4X1 matrix of float)
    123 0:21          'r13' ( temp 4X1 matrix of float)
    124 0:21          transpose ( temp 4X1 matrix of float)
    125 0:21            'f1x4' ( temp 1X4 matrix of float)
    126 0:27  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
    127 0:27    Function Parameters: 
    128 0:?     Sequence
    129 0:29      move second child to first child ( temp 4-component vector of float)
    130 0:29        color: direct index for structure ( temp 4-component vector of float)
    131 0:29          'ps_output' ( temp structure{ temp 4-component vector of float color})
    132 0:29          Constant:
    133 0:29            0 (const int)
    134 0:29        Constant:
    135 0:29          1.000000
    136 0:29          1.000000
    137 0:29          1.000000
    138 0:29          1.000000
    139 0:30      Branch: Return with expression
    140 0:30        'ps_output' ( temp structure{ temp 4-component vector of float color})
    141 0:27  Function Definition: main( ( temp void)
    142 0:27    Function Parameters: 
    143 0:?     Sequence
    144 0:27      Sequence
    145 0:27        move second child to first child ( temp 4-component vector of float)
    146 0:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
    147 0:27          color: direct index for structure ( temp 4-component vector of float)
    148 0:27            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
    149 0:27            Constant:
    150 0:27              0 (const int)
    151 0:?   Linker Objects
    152 0:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
    153 
    154 Validation failed
    155 // Module Version 10000
    156 // Generated by (magic number): 80007
    157 // Id's are bound by 77
    158 
    159                               Capability Shader
    160                1:             ExtInstImport  "GLSL.std.450"
    161                               MemoryModel Logical GLSL450
    162                               EntryPoint Fragment 4  "main" 74
    163                               ExecutionMode 4 OriginUpperLeft
    164                               Source HLSL 500
    165                               Name 4  "main"
    166                               Name 6  "TestMatNx1("
    167                               Name 10  "PS_OUTPUT"
    168                               MemberName 10(PS_OUTPUT) 0  "color"
    169                               Name 12  "@main("
    170                               Name 17  "r00"
    171                               Name 18  "f1x1"
    172                               Name 24  "r01"
    173                               Name 27  "f2x1"
    174                               Name 33  "r02"
    175                               Name 36  "f3x1"
    176                               Name 41  "r03"
    177                               Name 44  "f4x1"
    178                               Name 47  "r10"
    179                               Name 50  "r11"
    180                               Name 51  "f1x2"
    181                               Name 54  "r12"
    182                               Name 55  "f1x3"
    183                               Name 58  "r13"
    184                               Name 59  "f1x4"
    185                               Name 63  "ps_output"
    186                               Name 74  "@entryPointOutput.color"
    187                               Decorate 74(@entryPointOutput.color) Location 0
    188                2:             TypeVoid
    189                3:             TypeFunction 2
    190                8:             TypeFloat 32
    191                9:             TypeVector 8(float) 4
    192    10(PS_OUTPUT):             TypeStruct 9(fvec4)
    193               11:             TypeFunction 10(PS_OUTPUT)
    194               14:             TypeVector 8(float) 1
    195               15:             TypeMatrix 14(fvec) 1
    196               16:             TypePointer Function 15
    197               21:             TypeVector 8(float) 2
    198               22:             TypeMatrix 21(fvec2) 1
    199               23:             TypePointer Function 22
    200               25:             TypeMatrix 14(fvec) 2
    201               26:             TypePointer Function 25
    202               30:             TypeVector 8(float) 3
    203               31:             TypeMatrix 30(fvec3) 1
    204               32:             TypePointer Function 31
    205               34:             TypeMatrix 14(fvec) 3
    206               35:             TypePointer Function 34
    207               39:             TypeMatrix 9(fvec4) 1
    208               40:             TypePointer Function 39
    209               42:             TypeMatrix 14(fvec) 4
    210               43:             TypePointer Function 42
    211               62:             TypePointer Function 10(PS_OUTPUT)
    212               64:             TypeInt 32 1
    213               65:     64(int) Constant 0
    214               66:    8(float) Constant 1065353216
    215               67:    9(fvec4) ConstantComposite 66 66 66 66
    216               68:             TypePointer Function 9(fvec4)
    217               73:             TypePointer Output 9(fvec4)
    218 74(@entryPointOutput.color):     73(ptr) Variable Output
    219          4(main):           2 Function None 3
    220                5:             Label
    221               75:10(PS_OUTPUT) FunctionCall 12(@main()
    222               76:    9(fvec4) CompositeExtract 75 0
    223                               Store 74(@entryPointOutput.color) 76
    224                               Return
    225                               FunctionEnd
    226   6(TestMatNx1():           2 Function None 3
    227                7:             Label
    228          17(r00):     16(ptr) Variable Function
    229         18(f1x1):     16(ptr) Variable Function
    230          24(r01):     23(ptr) Variable Function
    231         27(f2x1):     26(ptr) Variable Function
    232          33(r02):     32(ptr) Variable Function
    233         36(f3x1):     35(ptr) Variable Function
    234          41(r03):     40(ptr) Variable Function
    235         44(f4x1):     43(ptr) Variable Function
    236          47(r10):     16(ptr) Variable Function
    237          50(r11):     26(ptr) Variable Function
    238         51(f1x2):     23(ptr) Variable Function
    239          54(r12):     35(ptr) Variable Function
    240         55(f1x3):     32(ptr) Variable Function
    241          58(r13):     43(ptr) Variable Function
    242         59(f1x4):     40(ptr) Variable Function
    243               19:          15 Load 18(f1x1)
    244               20:          15 Transpose 19
    245                               Store 17(r00) 20
    246               28:          25 Load 27(f2x1)
    247               29:          22 Transpose 28
    248                               Store 24(r01) 29
    249               37:          34 Load 36(f3x1)
    250               38:          31 Transpose 37
    251                               Store 33(r02) 38
    252               45:          42 Load 44(f4x1)
    253               46:          39 Transpose 45
    254                               Store 41(r03) 46
    255               48:          15 Load 18(f1x1)
    256               49:          15 Transpose 48
    257                               Store 47(r10) 49
    258               52:          22 Load 51(f1x2)
    259               53:          25 Transpose 52
    260                               Store 50(r11) 53
    261               56:          31 Load 55(f1x3)
    262               57:          34 Transpose 56
    263                               Store 54(r12) 57
    264               60:          39 Load 59(f1x4)
    265               61:          42 Transpose 60
    266                               Store 58(r13) 61
    267                               Return
    268                               FunctionEnd
    269       12(@main():10(PS_OUTPUT) Function None 11
    270               13:             Label
    271    63(ps_output):     62(ptr) Variable Function
    272               69:     68(ptr) AccessChain 63(ps_output) 65
    273                               Store 69 67
    274               70:10(PS_OUTPUT) Load 63(ps_output)
    275                               ReturnValue 70
    276                               FunctionEnd
    277