Home | History | Annotate | Download | only in baseResults
      1 hlsl.sample.offsetarray.dx10.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 using depth_any
      5 0:? Sequence
      6 0:20  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
      7 0:20    Function Parameters: 
      8 0:?     Sequence
      9 0:23      Sequence
     10 0:23        move second child to first child ( temp 4-component vector of float)
     11 0:23          'txval10' ( temp 4-component vector of float)
     12 0:23          textureOffset ( temp 4-component vector of float)
     13 0:23            Construct combined texture-sampler ( temp sampler1DArray)
     14 0:23              'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
     15 0:23              'g_sSamp' (layout( binding=0) uniform sampler)
     16 0:?             Constant:
     17 0:?               0.100000
     18 0:?               0.200000
     19 0:23            Constant:
     20 0:23              0 (const int)
     21 0:24      Sequence
     22 0:24        move second child to first child ( temp 4-component vector of int)
     23 0:24          'txval11' ( temp 4-component vector of int)
     24 0:24          textureOffset ( temp 4-component vector of int)
     25 0:24            Construct combined texture-sampler ( temp isampler1DArray)
     26 0:24              'g_tTex1di4' ( uniform itexture1DArray)
     27 0:24              'g_sSamp' (layout( binding=0) uniform sampler)
     28 0:?             Constant:
     29 0:?               0.200000
     30 0:?               0.300000
     31 0:24            Constant:
     32 0:24              1 (const int)
     33 0:25      Sequence
     34 0:25        move second child to first child ( temp 4-component vector of uint)
     35 0:25          'txval12' ( temp 4-component vector of uint)
     36 0:25          textureOffset ( temp 4-component vector of uint)
     37 0:25            Construct combined texture-sampler ( temp usampler1DArray)
     38 0:25              'g_tTex1du4' ( uniform utexture1DArray)
     39 0:25              'g_sSamp' (layout( binding=0) uniform sampler)
     40 0:?             Constant:
     41 0:?               0.300000
     42 0:?               0.400000
     43 0:25            Constant:
     44 0:25              2 (const int)
     45 0:27      Sequence
     46 0:27        move second child to first child ( temp 4-component vector of float)
     47 0:27          'txval20' ( temp 4-component vector of float)
     48 0:27          textureOffset ( temp 4-component vector of float)
     49 0:27            Construct combined texture-sampler ( temp sampler2DArray)
     50 0:27              'g_tTex2df4' ( uniform texture2DArray)
     51 0:27              'g_sSamp' (layout( binding=0) uniform sampler)
     52 0:?             Constant:
     53 0:?               0.100000
     54 0:?               0.200000
     55 0:?               0.300000
     56 0:?             Constant:
     57 0:?               0 (const int)
     58 0:?               0 (const int)
     59 0:28      Sequence
     60 0:28        move second child to first child ( temp 4-component vector of int)
     61 0:28          'txval21' ( temp 4-component vector of int)
     62 0:28          textureOffset ( temp 4-component vector of int)
     63 0:28            Construct combined texture-sampler ( temp isampler2DArray)
     64 0:28              'g_tTex2di4' ( uniform itexture2DArray)
     65 0:28              'g_sSamp' (layout( binding=0) uniform sampler)
     66 0:?             Constant:
     67 0:?               0.300000
     68 0:?               0.400000
     69 0:?               0.500000
     70 0:?             Constant:
     71 0:?               0 (const int)
     72 0:?               0 (const int)
     73 0:29      Sequence
     74 0:29        move second child to first child ( temp 4-component vector of uint)
     75 0:29          'txval22' ( temp 4-component vector of uint)
     76 0:29          textureOffset ( temp 4-component vector of uint)
     77 0:29            Construct combined texture-sampler ( temp usampler2DArray)
     78 0:29              'g_tTex2du4' ( uniform utexture2DArray)
     79 0:29              'g_sSamp' (layout( binding=0) uniform sampler)
     80 0:?             Constant:
     81 0:?               0.500000
     82 0:?               0.600000
     83 0:?               0.700000
     84 0:?             Constant:
     85 0:?               0 (const int)
     86 0:?               1 (const int)
     87 0:33      move second child to first child ( temp 4-component vector of float)
     88 0:33        Color: direct index for structure ( temp 4-component vector of float)
     89 0:33          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
     90 0:33          Constant:
     91 0:33            0 (const int)
     92 0:33        Constant:
     93 0:33          1.000000
     94 0:33          1.000000
     95 0:33          1.000000
     96 0:33          1.000000
     97 0:34      move second child to first child ( temp float)
     98 0:34        Depth: direct index for structure ( temp float)
     99 0:34          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    100 0:34          Constant:
    101 0:34            1 (const int)
    102 0:34        Constant:
    103 0:34          1.000000
    104 0:36      Branch: Return with expression
    105 0:36        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    106 0:20  Function Definition: main( ( temp void)
    107 0:20    Function Parameters: 
    108 0:?     Sequence
    109 0:20      Sequence
    110 0:20        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    111 0:20          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    112 0:20          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    113 0:20        move second child to first child ( temp 4-component vector of float)
    114 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    115 0:20          Color: direct index for structure ( temp 4-component vector of float)
    116 0:20            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    117 0:20            Constant:
    118 0:20              0 (const int)
    119 0:20        move second child to first child ( temp float)
    120 0:?           '@entryPointOutput.Depth' ( out float FragDepth)
    121 0:20          Depth: direct index for structure ( temp float)
    122 0:20            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    123 0:20            Constant:
    124 0:20              1 (const int)
    125 0:?   Linker Objects
    126 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
    127 0:?     'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
    128 0:?     'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
    129 0:?     'g_tTex1di4' ( uniform itexture1DArray)
    130 0:?     'g_tTex1du4' ( uniform utexture1DArray)
    131 0:?     'g_tTex2df4' ( uniform texture2DArray)
    132 0:?     'g_tTex2di4' ( uniform itexture2DArray)
    133 0:?     'g_tTex2du4' ( uniform utexture2DArray)
    134 0:?     '@entryPointOutput.Depth' ( out float FragDepth)
    135 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    136 
    137 
    138 Linked fragment stage:
    139 
    140 
    141 Shader version: 500
    142 gl_FragCoord origin is upper left
    143 using depth_any
    144 0:? Sequence
    145 0:20  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    146 0:20    Function Parameters: 
    147 0:?     Sequence
    148 0:23      Sequence
    149 0:23        move second child to first child ( temp 4-component vector of float)
    150 0:23          'txval10' ( temp 4-component vector of float)
    151 0:23          textureOffset ( temp 4-component vector of float)
    152 0:23            Construct combined texture-sampler ( temp sampler1DArray)
    153 0:23              'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
    154 0:23              'g_sSamp' (layout( binding=0) uniform sampler)
    155 0:?             Constant:
    156 0:?               0.100000
    157 0:?               0.200000
    158 0:23            Constant:
    159 0:23              0 (const int)
    160 0:24      Sequence
    161 0:24        move second child to first child ( temp 4-component vector of int)
    162 0:24          'txval11' ( temp 4-component vector of int)
    163 0:24          textureOffset ( temp 4-component vector of int)
    164 0:24            Construct combined texture-sampler ( temp isampler1DArray)
    165 0:24              'g_tTex1di4' ( uniform itexture1DArray)
    166 0:24              'g_sSamp' (layout( binding=0) uniform sampler)
    167 0:?             Constant:
    168 0:?               0.200000
    169 0:?               0.300000
    170 0:24            Constant:
    171 0:24              1 (const int)
    172 0:25      Sequence
    173 0:25        move second child to first child ( temp 4-component vector of uint)
    174 0:25          'txval12' ( temp 4-component vector of uint)
    175 0:25          textureOffset ( temp 4-component vector of uint)
    176 0:25            Construct combined texture-sampler ( temp usampler1DArray)
    177 0:25              'g_tTex1du4' ( uniform utexture1DArray)
    178 0:25              'g_sSamp' (layout( binding=0) uniform sampler)
    179 0:?             Constant:
    180 0:?               0.300000
    181 0:?               0.400000
    182 0:25            Constant:
    183 0:25              2 (const int)
    184 0:27      Sequence
    185 0:27        move second child to first child ( temp 4-component vector of float)
    186 0:27          'txval20' ( temp 4-component vector of float)
    187 0:27          textureOffset ( temp 4-component vector of float)
    188 0:27            Construct combined texture-sampler ( temp sampler2DArray)
    189 0:27              'g_tTex2df4' ( uniform texture2DArray)
    190 0:27              'g_sSamp' (layout( binding=0) uniform sampler)
    191 0:?             Constant:
    192 0:?               0.100000
    193 0:?               0.200000
    194 0:?               0.300000
    195 0:?             Constant:
    196 0:?               0 (const int)
    197 0:?               0 (const int)
    198 0:28      Sequence
    199 0:28        move second child to first child ( temp 4-component vector of int)
    200 0:28          'txval21' ( temp 4-component vector of int)
    201 0:28          textureOffset ( temp 4-component vector of int)
    202 0:28            Construct combined texture-sampler ( temp isampler2DArray)
    203 0:28              'g_tTex2di4' ( uniform itexture2DArray)
    204 0:28              'g_sSamp' (layout( binding=0) uniform sampler)
    205 0:?             Constant:
    206 0:?               0.300000
    207 0:?               0.400000
    208 0:?               0.500000
    209 0:?             Constant:
    210 0:?               0 (const int)
    211 0:?               0 (const int)
    212 0:29      Sequence
    213 0:29        move second child to first child ( temp 4-component vector of uint)
    214 0:29          'txval22' ( temp 4-component vector of uint)
    215 0:29          textureOffset ( temp 4-component vector of uint)
    216 0:29            Construct combined texture-sampler ( temp usampler2DArray)
    217 0:29              'g_tTex2du4' ( uniform utexture2DArray)
    218 0:29              'g_sSamp' (layout( binding=0) uniform sampler)
    219 0:?             Constant:
    220 0:?               0.500000
    221 0:?               0.600000
    222 0:?               0.700000
    223 0:?             Constant:
    224 0:?               0 (const int)
    225 0:?               1 (const int)
    226 0:33      move second child to first child ( temp 4-component vector of float)
    227 0:33        Color: direct index for structure ( temp 4-component vector of float)
    228 0:33          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    229 0:33          Constant:
    230 0:33            0 (const int)
    231 0:33        Constant:
    232 0:33          1.000000
    233 0:33          1.000000
    234 0:33          1.000000
    235 0:33          1.000000
    236 0:34      move second child to first child ( temp float)
    237 0:34        Depth: direct index for structure ( temp float)
    238 0:34          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    239 0:34          Constant:
    240 0:34            1 (const int)
    241 0:34        Constant:
    242 0:34          1.000000
    243 0:36      Branch: Return with expression
    244 0:36        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    245 0:20  Function Definition: main( ( temp void)
    246 0:20    Function Parameters: 
    247 0:?     Sequence
    248 0:20      Sequence
    249 0:20        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    250 0:20          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    251 0:20          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    252 0:20        move second child to first child ( temp 4-component vector of float)
    253 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    254 0:20          Color: direct index for structure ( temp 4-component vector of float)
    255 0:20            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    256 0:20            Constant:
    257 0:20              0 (const int)
    258 0:20        move second child to first child ( temp float)
    259 0:?           '@entryPointOutput.Depth' ( out float FragDepth)
    260 0:20          Depth: direct index for structure ( temp float)
    261 0:20            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
    262 0:20            Constant:
    263 0:20              1 (const int)
    264 0:?   Linker Objects
    265 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
    266 0:?     'g_tTex1df4a' (layout( binding=1) uniform texture1DArray)
    267 0:?     'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
    268 0:?     'g_tTex1di4' ( uniform itexture1DArray)
    269 0:?     'g_tTex1du4' ( uniform utexture1DArray)
    270 0:?     'g_tTex2df4' ( uniform texture2DArray)
    271 0:?     'g_tTex2di4' ( uniform itexture2DArray)
    272 0:?     'g_tTex2du4' ( uniform utexture2DArray)
    273 0:?     '@entryPointOutput.Depth' ( out float FragDepth)
    274 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
    275 
    276 // Module Version 10000
    277 // Generated by (magic number): 80007
    278 // Id's are bound by 118
    279 
    280                               Capability Shader
    281                               Capability Sampled1D
    282                1:             ExtInstImport  "GLSL.std.450"
    283                               MemoryModel Logical GLSL450
    284                               EntryPoint Fragment 4  "main" 110 114
    285                               ExecutionMode 4 OriginUpperLeft
    286                               ExecutionMode 4 DepthReplacing
    287                               Source HLSL 500
    288                               Name 4  "main"
    289                               Name 8  "PS_OUTPUT"
    290                               MemberName 8(PS_OUTPUT) 0  "Color"
    291                               MemberName 8(PS_OUTPUT) 1  "Depth"
    292                               Name 10  "@main("
    293                               Name 13  "txval10"
    294                               Name 16  "g_tTex1df4"
    295                               Name 20  "g_sSamp"
    296                               Name 33  "txval11"
    297                               Name 36  "g_tTex1di4"
    298                               Name 48  "txval12"
    299                               Name 51  "g_tTex1du4"
    300                               Name 60  "txval20"
    301                               Name 63  "g_tTex2df4"
    302                               Name 73  "txval21"
    303                               Name 76  "g_tTex2di4"
    304                               Name 84  "txval22"
    305                               Name 87  "g_tTex2du4"
    306                               Name 98  "psout"
    307                               Name 107  "flattenTemp"
    308                               Name 110  "@entryPointOutput.Color"
    309                               Name 114  "@entryPointOutput.Depth"
    310                               Name 117  "g_tTex1df4a"
    311                               Decorate 16(g_tTex1df4) DescriptorSet 0
    312                               Decorate 16(g_tTex1df4) Binding 0
    313                               Decorate 20(g_sSamp) DescriptorSet 0
    314                               Decorate 20(g_sSamp) Binding 0
    315                               Decorate 36(g_tTex1di4) DescriptorSet 0
    316                               Decorate 36(g_tTex1di4) Binding 0
    317                               Decorate 51(g_tTex1du4) DescriptorSet 0
    318                               Decorate 51(g_tTex1du4) Binding 0
    319                               Decorate 63(g_tTex2df4) DescriptorSet 0
    320                               Decorate 63(g_tTex2df4) Binding 0
    321                               Decorate 76(g_tTex2di4) DescriptorSet 0
    322                               Decorate 76(g_tTex2di4) Binding 0
    323                               Decorate 87(g_tTex2du4) DescriptorSet 0
    324                               Decorate 87(g_tTex2du4) Binding 0
    325                               Decorate 110(@entryPointOutput.Color) Location 0
    326                               Decorate 114(@entryPointOutput.Depth) BuiltIn FragDepth
    327                               Decorate 117(g_tTex1df4a) DescriptorSet 0
    328                               Decorate 117(g_tTex1df4a) Binding 1
    329                2:             TypeVoid
    330                3:             TypeFunction 2
    331                6:             TypeFloat 32
    332                7:             TypeVector 6(float) 4
    333     8(PS_OUTPUT):             TypeStruct 7(fvec4) 6(float)
    334                9:             TypeFunction 8(PS_OUTPUT)
    335               12:             TypePointer Function 7(fvec4)
    336               14:             TypeImage 6(float) 1D array sampled format:Unknown
    337               15:             TypePointer UniformConstant 14
    338   16(g_tTex1df4):     15(ptr) Variable UniformConstant
    339               18:             TypeSampler
    340               19:             TypePointer UniformConstant 18
    341      20(g_sSamp):     19(ptr) Variable UniformConstant
    342               22:             TypeSampledImage 14
    343               24:             TypeVector 6(float) 2
    344               25:    6(float) Constant 1036831949
    345               26:    6(float) Constant 1045220557
    346               27:   24(fvec2) ConstantComposite 25 26
    347               28:             TypeInt 32 1
    348               29:     28(int) Constant 0
    349               31:             TypeVector 28(int) 4
    350               32:             TypePointer Function 31(ivec4)
    351               34:             TypeImage 28(int) 1D array sampled format:Unknown
    352               35:             TypePointer UniformConstant 34
    353   36(g_tTex1di4):     35(ptr) Variable UniformConstant
    354               39:             TypeSampledImage 34
    355               41:    6(float) Constant 1050253722
    356               42:   24(fvec2) ConstantComposite 26 41
    357               43:     28(int) Constant 1
    358               45:             TypeInt 32 0
    359               46:             TypeVector 45(int) 4
    360               47:             TypePointer Function 46(ivec4)
    361               49:             TypeImage 45(int) 1D array sampled format:Unknown
    362               50:             TypePointer UniformConstant 49
    363   51(g_tTex1du4):     50(ptr) Variable UniformConstant
    364               54:             TypeSampledImage 49
    365               56:    6(float) Constant 1053609165
    366               57:   24(fvec2) ConstantComposite 41 56
    367               58:     28(int) Constant 2
    368               61:             TypeImage 6(float) 2D array sampled format:Unknown
    369               62:             TypePointer UniformConstant 61
    370   63(g_tTex2df4):     62(ptr) Variable UniformConstant
    371               66:             TypeSampledImage 61
    372               68:             TypeVector 6(float) 3
    373               69:   68(fvec3) ConstantComposite 25 26 41
    374               70:             TypeVector 28(int) 2
    375               71:   70(ivec2) ConstantComposite 29 29
    376               74:             TypeImage 28(int) 2D array sampled format:Unknown
    377               75:             TypePointer UniformConstant 74
    378   76(g_tTex2di4):     75(ptr) Variable UniformConstant
    379               79:             TypeSampledImage 74
    380               81:    6(float) Constant 1056964608
    381               82:   68(fvec3) ConstantComposite 41 56 81
    382               85:             TypeImage 45(int) 2D array sampled format:Unknown
    383               86:             TypePointer UniformConstant 85
    384   87(g_tTex2du4):     86(ptr) Variable UniformConstant
    385               90:             TypeSampledImage 85
    386               92:    6(float) Constant 1058642330
    387               93:    6(float) Constant 1060320051
    388               94:   68(fvec3) ConstantComposite 81 92 93
    389               95:   70(ivec2) ConstantComposite 29 43
    390               97:             TypePointer Function 8(PS_OUTPUT)
    391               99:    6(float) Constant 1065353216
    392              100:    7(fvec4) ConstantComposite 99 99 99 99
    393              102:             TypePointer Function 6(float)
    394              109:             TypePointer Output 7(fvec4)
    395 110(@entryPointOutput.Color):    109(ptr) Variable Output
    396              113:             TypePointer Output 6(float)
    397 114(@entryPointOutput.Depth):    113(ptr) Variable Output
    398 117(g_tTex1df4a):     15(ptr) Variable UniformConstant
    399          4(main):           2 Function None 3
    400                5:             Label
    401 107(flattenTemp):     97(ptr) Variable Function
    402              108:8(PS_OUTPUT) FunctionCall 10(@main()
    403                               Store 107(flattenTemp) 108
    404              111:     12(ptr) AccessChain 107(flattenTemp) 29
    405              112:    7(fvec4) Load 111
    406                               Store 110(@entryPointOutput.Color) 112
    407              115:    102(ptr) AccessChain 107(flattenTemp) 43
    408              116:    6(float) Load 115
    409                               Store 114(@entryPointOutput.Depth) 116
    410                               Return
    411                               FunctionEnd
    412       10(@main():8(PS_OUTPUT) Function None 9
    413               11:             Label
    414      13(txval10):     12(ptr) Variable Function
    415      33(txval11):     32(ptr) Variable Function
    416      48(txval12):     47(ptr) Variable Function
    417      60(txval20):     12(ptr) Variable Function
    418      73(txval21):     32(ptr) Variable Function
    419      84(txval22):     47(ptr) Variable Function
    420        98(psout):     97(ptr) Variable Function
    421               17:          14 Load 16(g_tTex1df4)
    422               21:          18 Load 20(g_sSamp)
    423               23:          22 SampledImage 17 21
    424               30:    7(fvec4) ImageSampleImplicitLod 23 27 ConstOffset 29
    425                               Store 13(txval10) 30
    426               37:          34 Load 36(g_tTex1di4)
    427               38:          18 Load 20(g_sSamp)
    428               40:          39 SampledImage 37 38
    429               44:   31(ivec4) ImageSampleImplicitLod 40 42 ConstOffset 43
    430                               Store 33(txval11) 44
    431               52:          49 Load 51(g_tTex1du4)
    432               53:          18 Load 20(g_sSamp)
    433               55:          54 SampledImage 52 53
    434               59:   46(ivec4) ImageSampleImplicitLod 55 57 ConstOffset 58
    435                               Store 48(txval12) 59
    436               64:          61 Load 63(g_tTex2df4)
    437               65:          18 Load 20(g_sSamp)
    438               67:          66 SampledImage 64 65
    439               72:    7(fvec4) ImageSampleImplicitLod 67 69 ConstOffset 71
    440                               Store 60(txval20) 72
    441               77:          74 Load 76(g_tTex2di4)
    442               78:          18 Load 20(g_sSamp)
    443               80:          79 SampledImage 77 78
    444               83:   31(ivec4) ImageSampleImplicitLod 80 82 ConstOffset 71
    445                               Store 73(txval21) 83
    446               88:          85 Load 87(g_tTex2du4)
    447               89:          18 Load 20(g_sSamp)
    448               91:          90 SampledImage 88 89
    449               96:   46(ivec4) ImageSampleImplicitLod 91 94 ConstOffset 95
    450                               Store 84(txval22) 96
    451              101:     12(ptr) AccessChain 98(psout) 29
    452                               Store 101 100
    453              103:    102(ptr) AccessChain 98(psout) 43
    454                               Store 103 99
    455              104:8(PS_OUTPUT) Load 98(psout)
    456                               ReturnValue 104
    457                               FunctionEnd
    458