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