Home | History | Annotate | Download | only in baseResults
      1 spv.specConst.vert
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 27
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Vertex 4  "main" 13 25 26
     10                               Source GLSL 450
     11                               Name 4  "main"
     12                               Name 11  "gl_PerVertex"
     13                               MemberName 11(gl_PerVertex) 0  "gl_Position"
     14                               MemberName 11(gl_PerVertex) 1  "gl_PointSize"
     15                               MemberName 11(gl_PerVertex) 2  "gl_ClipDistance"
     16                               MemberName 11(gl_PerVertex) 3  "gl_CullDistance"
     17                               Name 13  ""
     18                               Name 18  "a"
     19                               Name 25  "gl_VertexID"
     20                               Name 26  "gl_InstanceID"
     21                               MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
     22                               MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
     23                               MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
     24                               MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
     25                               Decorate 11(gl_PerVertex) Block
     26                               Decorate 18(a) SpecId 11
     27                               Decorate 25(gl_VertexID) BuiltIn VertexId
     28                               Decorate 26(gl_InstanceID) BuiltIn InstanceId
     29                2:             TypeVoid
     30                3:             TypeFunction 2
     31                6:             TypeFloat 32
     32                7:             TypeVector 6(float) 4
     33                8:             TypeInt 32 0
     34                9:      8(int) Constant 1
     35               10:             TypeArray 6(float) 9
     36 11(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 10 10
     37               12:             TypePointer Output 11(gl_PerVertex)
     38               13:     12(ptr) Variable Output
     39               14:             TypeInt 32 1
     40               15:     14(int) Constant 0
     41               16:    6(float) Constant 1065353216
     42               17:    7(fvec4) ConstantComposite 16 16 16 16
     43            18(a):     14(int) SpecConstant 8
     44               22:             TypePointer Output 7(fvec4)
     45               24:             TypePointer Input 14(int)
     46  25(gl_VertexID):     24(ptr) Variable Input
     47 26(gl_InstanceID):     24(ptr) Variable Input
     48          4(main):           2 Function None 3
     49                5:             Label
     50               19:    6(float) ConvertSToF 18(a)
     51               20:    7(fvec4) CompositeConstruct 19 19 19 19
     52               21:    7(fvec4) FDiv 17 20
     53               23:     22(ptr) AccessChain 13 15
     54                               Store 23 21
     55                               Return
     56                               FunctionEnd
     57