Home | History | Annotate | Download | only in baseResults
      1 hlsl.attributeGlobalBuffer.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:6  Function Definition: @main( ( temp 4-component vector of float)
      6 0:6    Function Parameters: 
      7 0:?     Sequence
      8 0:7      Branch: Return with expression
      9 0:7        add ( temp 4-component vector of float)
     10 0:7          u1: direct index for structure ( uniform 4-component vector of float)
     11 0:7            'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1,  uniform 4-component vector of float u2})
     12 0:7            Constant:
     13 0:7              0 (const uint)
     14 0:7          u2: direct index for structure ( uniform 4-component vector of float)
     15 0:7            'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1,  uniform 4-component vector of float u2})
     16 0:7            Constant:
     17 0:7              1 (const uint)
     18 0:6  Function Definition: main( ( temp void)
     19 0:6    Function Parameters: 
     20 0:?     Sequence
     21 0:6      move second child to first child ( temp 4-component vector of float)
     22 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     23 0:6        Function Call: @main( ( temp 4-component vector of float)
     24 0:?   Linker Objects
     25 0:?     'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1,  uniform 4-component vector of float u2})
     26 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     27 
     28 
     29 Linked fragment stage:
     30 
     31 
     32 Shader version: 500
     33 gl_FragCoord origin is upper left
     34 0:? Sequence
     35 0:6  Function Definition: @main( ( temp 4-component vector of float)
     36 0:6    Function Parameters: 
     37 0:?     Sequence
     38 0:7      Branch: Return with expression
     39 0:7        add ( temp 4-component vector of float)
     40 0:7          u1: direct index for structure ( uniform 4-component vector of float)
     41 0:7            'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1,  uniform 4-component vector of float u2})
     42 0:7            Constant:
     43 0:7              0 (const uint)
     44 0:7          u2: direct index for structure ( uniform 4-component vector of float)
     45 0:7            'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1,  uniform 4-component vector of float u2})
     46 0:7            Constant:
     47 0:7              1 (const uint)
     48 0:6  Function Definition: main( ( temp void)
     49 0:6    Function Parameters: 
     50 0:?     Sequence
     51 0:6      move second child to first child ( temp 4-component vector of float)
     52 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     53 0:6        Function Call: @main( ( temp 4-component vector of float)
     54 0:?   Linker Objects
     55 0:?     'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1,  uniform 4-component vector of float u2})
     56 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
     57 
     58 // Module Version 10000
     59 // Generated by (magic number): 80007
     60 // Id's are bound by 28
     61 
     62                               Capability Shader
     63                1:             ExtInstImport  "GLSL.std.450"
     64                               MemoryModel Logical GLSL450
     65                               EntryPoint Fragment 4  "main" 26
     66                               ExecutionMode 4 OriginUpperLeft
     67                               Source HLSL 500
     68                               Name 4  "main"
     69                               Name 9  "@main("
     70                               Name 11  "$Global"
     71                               MemberName 11($Global) 0  "u1"
     72                               MemberName 11($Global) 1  "u2"
     73                               Name 13  ""
     74                               Name 26  "@entryPointOutput"
     75                               MemberDecorate 11($Global) 0 Offset 0
     76                               MemberDecorate 11($Global) 1 Offset 16
     77                               Decorate 11($Global) Block
     78                               Decorate 13 DescriptorSet 2
     79                               Decorate 13 Binding 5
     80                               Decorate 26(@entryPointOutput) Location 0
     81                2:             TypeVoid
     82                3:             TypeFunction 2
     83                6:             TypeFloat 32
     84                7:             TypeVector 6(float) 4
     85                8:             TypeFunction 7(fvec4)
     86      11($Global):             TypeStruct 7(fvec4) 7(fvec4)
     87               12:             TypePointer Uniform 11($Global)
     88               13:     12(ptr) Variable Uniform
     89               14:             TypeInt 32 1
     90               15:     14(int) Constant 0
     91               16:             TypePointer Uniform 7(fvec4)
     92               19:     14(int) Constant 1
     93               25:             TypePointer Output 7(fvec4)
     94 26(@entryPointOutput):     25(ptr) Variable Output
     95          4(main):           2 Function None 3
     96                5:             Label
     97               27:    7(fvec4) FunctionCall 9(@main()
     98                               Store 26(@entryPointOutput) 27
     99                               Return
    100                               FunctionEnd
    101        9(@main():    7(fvec4) Function None 8
    102               10:             Label
    103               17:     16(ptr) AccessChain 13 15
    104               18:    7(fvec4) Load 17
    105               20:     16(ptr) AccessChain 13 19
    106               21:    7(fvec4) Load 20
    107               22:    7(fvec4) FAdd 18 21
    108                               ReturnValue 22
    109                               FunctionEnd
    110