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