Home | History | Annotate | Download | only in baseResults
      1 hlsl.preprocessor.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:9  Function Definition: @main(vf4; ( temp 4-component vector of float)
      6 0:9    Function Parameters: 
      7 0:9      'input' ( in 4-component vector of float)
      8 0:?     Sequence
      9 0:10      Sequence
     10 0:10        move second child to first child ( temp 4-component vector of float)
     11 0:10          'tex' ( temp 4-component vector of float)
     12 0:10          texture ( temp 4-component vector of float)
     13 0:10            Construct combined texture-sampler ( temp sampler2D)
     14 0:10              'test_texture' ( uniform texture2D)
     15 0:10              'test_texture_ss' ( uniform sampler)
     16 0:10            vector swizzle ( temp 2-component vector of float)
     17 0:10              vector swizzle ( temp 2-component vector of float)
     18 0:10                'input' ( in 4-component vector of float)
     19 0:10                Sequence
     20 0:10                  Constant:
     21 0:10                    0 (const int)
     22 0:10                  Constant:
     23 0:10                    1 (const int)
     24 0:10              Sequence
     25 0:10                Constant:
     26 0:10                  0 (const int)
     27 0:10                Constant:
     28 0:10                  1 (const int)
     29 0:11      Branch: Return with expression
     30 0:11        'tex' ( temp 4-component vector of float)
     31 0:9  Function Definition: main( ( temp void)
     32 0:9    Function Parameters: 
     33 0:?     Sequence
     34 0:9      move second child to first child ( temp 4-component vector of float)
     35 0:?         'input' ( temp 4-component vector of float)
     36 0:?         'input' (layout( location=0) in 4-component vector of float)
     37 0:9      move second child to first child ( temp 4-component vector of float)
     38 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     39 0:9        Function Call: @main(vf4; ( temp 4-component vector of float)
     40 0:?           'input' ( temp 4-component vector of float)
     41 0:?   Linker Objects
     42 0:?     'test_texture' ( uniform texture2D)
     43 0:?     'test_texture_ss' ( uniform sampler)
     44 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     45 0:?     'input' (layout( location=0) in 4-component vector of float)
     46 
     47 
     48 Linked fragment stage:
     49 
     50 
     51 Shader version: 500
     52 gl_FragCoord origin is upper left
     53 0:? Sequence
     54 0:9  Function Definition: @main(vf4; ( temp 4-component vector of float)
     55 0:9    Function Parameters: 
     56 0:9      'input' ( in 4-component vector of float)
     57 0:?     Sequence
     58 0:10      Sequence
     59 0:10        move second child to first child ( temp 4-component vector of float)
     60 0:10          'tex' ( temp 4-component vector of float)
     61 0:10          texture ( temp 4-component vector of float)
     62 0:10            Construct combined texture-sampler ( temp sampler2D)
     63 0:10              'test_texture' ( uniform texture2D)
     64 0:10              'test_texture_ss' ( uniform sampler)
     65 0:10            vector swizzle ( temp 2-component vector of float)
     66 0:10              vector swizzle ( temp 2-component vector of float)
     67 0:10                'input' ( in 4-component vector of float)
     68 0:10                Sequence
     69 0:10                  Constant:
     70 0:10                    0 (const int)
     71 0:10                  Constant:
     72 0:10                    1 (const int)
     73 0:10              Sequence
     74 0:10                Constant:
     75 0:10                  0 (const int)
     76 0:10                Constant:
     77 0:10                  1 (const int)
     78 0:11      Branch: Return with expression
     79 0:11        'tex' ( temp 4-component vector of float)
     80 0:9  Function Definition: main( ( temp void)
     81 0:9    Function Parameters: 
     82 0:?     Sequence
     83 0:9      move second child to first child ( temp 4-component vector of float)
     84 0:?         'input' ( temp 4-component vector of float)
     85 0:?         'input' (layout( location=0) in 4-component vector of float)
     86 0:9      move second child to first child ( temp 4-component vector of float)
     87 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     88 0:9        Function Call: @main(vf4; ( temp 4-component vector of float)
     89 0:?           'input' ( temp 4-component vector of float)
     90 0:?   Linker Objects
     91 0:?     'test_texture' ( uniform texture2D)
     92 0:?     'test_texture_ss' ( uniform sampler)
     93 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     94 0:?     'input' (layout( location=0) in 4-component vector of float)
     95 
     96 // Module Version 10000
     97 // Generated by (magic number): 80007
     98 // Id's are bound by 40
     99 
    100                               Capability Shader
    101                1:             ExtInstImport  "GLSL.std.450"
    102                               MemoryModel Logical GLSL450
    103                               EntryPoint Fragment 4  "main" 33 36
    104                               ExecutionMode 4 OriginUpperLeft
    105                               Source HLSL 500
    106                               Name 4  "main"
    107                               Name 11  "@main(vf4;"
    108                               Name 10  "input"
    109                               Name 13  "tex"
    110                               Name 16  "test_texture"
    111                               Name 20  "test_texture_ss"
    112                               Name 31  "input"
    113                               Name 33  "input"
    114                               Name 36  "@entryPointOutput"
    115                               Name 37  "param"
    116                               Decorate 16(test_texture) DescriptorSet 0
    117                               Decorate 16(test_texture) Binding 0
    118                               Decorate 20(test_texture_ss) DescriptorSet 0
    119                               Decorate 20(test_texture_ss) Binding 0
    120                               Decorate 33(input) Location 0
    121                               Decorate 36(@entryPointOutput) Location 0
    122                2:             TypeVoid
    123                3:             TypeFunction 2
    124                6:             TypeFloat 32
    125                7:             TypeVector 6(float) 4
    126                8:             TypePointer Function 7(fvec4)
    127                9:             TypeFunction 7(fvec4) 8(ptr)
    128               14:             TypeImage 6(float) 2D sampled format:Unknown
    129               15:             TypePointer UniformConstant 14
    130 16(test_texture):     15(ptr) Variable UniformConstant
    131               18:             TypeSampler
    132               19:             TypePointer UniformConstant 18
    133 20(test_texture_ss):     19(ptr) Variable UniformConstant
    134               22:             TypeSampledImage 14
    135               24:             TypeVector 6(float) 2
    136               32:             TypePointer Input 7(fvec4)
    137        33(input):     32(ptr) Variable Input
    138               35:             TypePointer Output 7(fvec4)
    139 36(@entryPointOutput):     35(ptr) Variable Output
    140          4(main):           2 Function None 3
    141                5:             Label
    142        31(input):      8(ptr) Variable Function
    143        37(param):      8(ptr) Variable Function
    144               34:    7(fvec4) Load 33(input)
    145                               Store 31(input) 34
    146               38:    7(fvec4) Load 31(input)
    147                               Store 37(param) 38
    148               39:    7(fvec4) FunctionCall 11(@main(vf4;) 37(param)
    149                               Store 36(@entryPointOutput) 39
    150                               Return
    151                               FunctionEnd
    152   11(@main(vf4;):    7(fvec4) Function None 9
    153        10(input):      8(ptr) FunctionParameter
    154               12:             Label
    155          13(tex):      8(ptr) Variable Function
    156               17:          14 Load 16(test_texture)
    157               21:          18 Load 20(test_texture_ss)
    158               23:          22 SampledImage 17 21
    159               25:    7(fvec4) Load 10(input)
    160               26:   24(fvec2) VectorShuffle 25 25 0 1
    161               27:    7(fvec4) ImageSampleImplicitLod 23 26
    162                               Store 13(tex) 27
    163               28:    7(fvec4) Load 13(tex)
    164                               ReturnValue 28
    165                               FunctionEnd
    166