Home | History | Annotate | Download | only in baseResults
      1 spv.viewportArray2.vert
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 19
      5 
      6                               Capability Shader
      7                               Capability Geometry
      8                               Capability MultiViewport
      9                               Capability ShaderViewportIndexLayerNV
     10                               Capability ShaderViewportMaskNV
     11                               Extension  "SPV_EXT_shader_viewport_index_layer"
     12                               Extension  "SPV_NV_viewport_array2"
     13                1:             ExtInstImport  "GLSL.std.450"
     14                               MemoryModel Logical GLSL450
     15                               EntryPoint Vertex 4  "main" 11 16 18
     16                               Source GLSL 450
     17                               SourceExtension  "GL_ARB_shader_viewport_layer_array"
     18                               SourceExtension  "GL_NV_viewport_array2"
     19                               Name 4  "main"
     20                               Name 11  "gl_ViewportMask"
     21                               Name 16  "gl_ViewportIndex"
     22                               Name 18  "gl_Layer"
     23                               Decorate 11(gl_ViewportMask) BuiltIn ViewportMaskNV
     24                               Decorate 16(gl_ViewportIndex) BuiltIn ViewportIndex
     25                               Decorate 18(gl_Layer) BuiltIn Layer
     26                               Decorate 18(gl_Layer) ViewportRelativeNV
     27                2:             TypeVoid
     28                3:             TypeFunction 2
     29                6:             TypeInt 32 1
     30                7:             TypeInt 32 0
     31                8:      7(int) Constant 1
     32                9:             TypeArray 6(int) 8
     33               10:             TypePointer Output 9
     34 11(gl_ViewportMask):     10(ptr) Variable Output
     35               12:      6(int) Constant 0
     36               13:      6(int) Constant 1
     37               14:             TypePointer Output 6(int)
     38 16(gl_ViewportIndex):     14(ptr) Variable Output
     39               17:      6(int) Constant 2
     40     18(gl_Layer):     14(ptr) Variable Output
     41          4(main):           2 Function None 3
     42                5:             Label
     43               15:     14(ptr) AccessChain 11(gl_ViewportMask) 12
     44                               Store 15 13
     45                               Store 16(gl_ViewportIndex) 17
     46                               Return
     47                               FunctionEnd
     48