Home | History | Annotate | Download | only in baseResults
      1 spv.length.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 33
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Fragment 4  "main" 14 26
     10                               ExecutionMode 4 OriginUpperLeft
     11                               Source GLSL 140
     12                               Name 4  "main"
     13                               Name 9  "t"
     14                               Name 14  "v"
     15                               Name 26  "gl_FragColor"
     16                               Name 32  "u"
     17                               Decorate 26(gl_FragColor) Location 0
     18                2:             TypeVoid
     19                3:             TypeFunction 2
     20                6:             TypeFloat 32
     21                7:             TypeVector 6(float) 2
     22                8:             TypePointer Function 7(fvec2)
     23               10:             TypeInt 32 0
     24               11:     10(int) Constant 2
     25               12:             TypeArray 7(fvec2) 11
     26               13:             TypePointer Input 12
     27            14(v):     13(ptr) Variable Input
     28               15:             TypeInt 32 1
     29               16:     15(int) Constant 0
     30               17:             TypePointer Input 7(fvec2)
     31               20:     15(int) Constant 1
     32               24:             TypeVector 6(float) 4
     33               25:             TypePointer Output 24(fvec4)
     34 26(gl_FragColor):     25(ptr) Variable Output
     35               27:    6(float) Constant 1106247680
     36               28:   24(fvec4) ConstantComposite 27 27 27 27
     37               29:     10(int) Constant 3
     38               30:             TypeArray 24(fvec4) 29
     39               31:             TypePointer Private 30
     40            32(u):     31(ptr) Variable Private
     41          4(main):           2 Function None 3
     42                5:             Label
     43             9(t):      8(ptr) Variable Function
     44               18:     17(ptr) AccessChain 14(v) 16
     45               19:    7(fvec2) Load 18
     46               21:     17(ptr) AccessChain 14(v) 20
     47               22:    7(fvec2) Load 21
     48               23:    7(fvec2) FAdd 19 22
     49                               Store 9(t) 23
     50                               Store 26(gl_FragColor) 28
     51                               Return
     52                               FunctionEnd
     53