Home | History | Annotate | Download | only in baseResults
      1 spv.viewportArray2.tesc
      2 Validation failed
      3 // Module Version 10000
      4 // Generated by (magic number): 80007
      5 // Id's are bound by 25
      6 
      7                               Capability Geometry
      8                               Capability Tessellation
      9                               Capability MultiViewport
     10                               Capability ShaderViewportIndexLayerNV
     11                               Capability ShaderViewportMaskNV
     12                               Extension  "SPV_EXT_shader_viewport_index_layer"
     13                               Extension  "SPV_NV_viewport_array2"
     14                1:             ExtInstImport  "GLSL.std.450"
     15                               MemoryModel Logical GLSL450
     16                               EntryPoint TessellationControl 4  "main" 14 16 22 24
     17                               ExecutionMode 4 OutputVertices 4
     18                               Source GLSL 450
     19                               SourceExtension  "GL_NV_viewport_array2"
     20                               Name 4  "main"
     21                               Name 10  "gl_PerVertex"
     22                               MemberName 10(gl_PerVertex) 0  "gl_ViewportMask"
     23                               Name 14  "gl_out"
     24                               Name 16  "gl_InvocationID"
     25                               Name 22  "gl_ViewportIndex"
     26                               Name 24  "gl_Layer"
     27                               MemberDecorate 10(gl_PerVertex) 0 BuiltIn ViewportMaskNV
     28                               Decorate 10(gl_PerVertex) Block
     29                               Decorate 16(gl_InvocationID) BuiltIn InvocationId
     30                               Decorate 22(gl_ViewportIndex) BuiltIn ViewportIndex
     31                               Decorate 24(gl_Layer) BuiltIn Layer
     32                               Decorate 24(gl_Layer) ViewportRelativeNV
     33                2:             TypeVoid
     34                3:             TypeFunction 2
     35                6:             TypeInt 32 1
     36                7:             TypeInt 32 0
     37                8:      7(int) Constant 2
     38                9:             TypeArray 6(int) 8
     39 10(gl_PerVertex):             TypeStruct 9
     40               11:      7(int) Constant 4
     41               12:             TypeArray 10(gl_PerVertex) 11
     42               13:             TypePointer Output 12
     43       14(gl_out):     13(ptr) Variable Output
     44               15:             TypePointer Input 6(int)
     45 16(gl_InvocationID):     15(ptr) Variable Input
     46               18:      6(int) Constant 0
     47               19:      6(int) Constant 1
     48               20:             TypePointer Output 6(int)
     49 22(gl_ViewportIndex):     20(ptr) Variable Output
     50               23:      6(int) Constant 2
     51     24(gl_Layer):     20(ptr) Variable Output
     52          4(main):           2 Function None 3
     53                5:             Label
     54               17:      6(int) Load 16(gl_InvocationID)
     55               21:     20(ptr) AccessChain 14(gl_out) 17 18 18
     56                               Store 21 19
     57                               Store 22(gl_ViewportIndex) 23
     58                               Return
     59                               FunctionEnd
     60