Home | History | Annotate | Download | only in baseResults
      1 spv.stereoViewRendering.tesc
      2 Validation failed
      3 // Module Version 10000
      4 // Generated by (magic number): 80007
      5 // Id's are bound by 38
      6 
      7                               Capability Geometry
      8                               Capability Tessellation
      9                               Capability ShaderViewportIndexLayerNV
     10                               Capability ShaderViewportMaskNV
     11                               Capability ShaderStereoViewNV
     12                               Extension  "SPV_EXT_shader_viewport_index_layer"
     13                               Extension  "SPV_NV_stereo_view_rendering"
     14                               Extension  "SPV_NV_viewport_array2"
     15                1:             ExtInstImport  "GLSL.std.450"
     16                               MemoryModel Logical GLSL450
     17                               EntryPoint TessellationControl 4  "main" 16 18 31 37
     18                               ExecutionMode 4 OutputVertices 4
     19                               Source GLSL 450
     20                               SourceExtension  "GL_NV_stereo_view_rendering"
     21                               SourceExtension  "GL_NV_viewport_array2"
     22                               Name 4  "main"
     23                               Name 12  "gl_PerVertex"
     24                               MemberName 12(gl_PerVertex) 0  "gl_SecondaryPositionNV"
     25                               MemberName 12(gl_PerVertex) 1  "gl_SecondaryViewportMaskNV"
     26                               Name 16  "gl_out"
     27                               Name 18  "gl_InvocationID"
     28                               Name 27  "gl_PerVertex"
     29                               MemberName 27(gl_PerVertex) 0  "gl_Position"
     30                               MemberName 27(gl_PerVertex) 1  "gl_PointSize"
     31                               MemberName 27(gl_PerVertex) 2  "gl_ClipDistance"
     32                               MemberName 27(gl_PerVertex) 3  "gl_CullDistance"
     33                               MemberName 27(gl_PerVertex) 4  "gl_SecondaryPositionNV"
     34                               Name 31  "gl_in"
     35                               Name 37  "gl_Layer"
     36                               MemberDecorate 12(gl_PerVertex) 0 BuiltIn SecondaryPositionNV
     37                               MemberDecorate 12(gl_PerVertex) 1 BuiltIn SecondaryViewportMaskNV
     38                               Decorate 12(gl_PerVertex) Block
     39                               Decorate 18(gl_InvocationID) BuiltIn InvocationId
     40                               MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
     41                               MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
     42                               MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
     43                               MemberDecorate 27(gl_PerVertex) 3 BuiltIn CullDistance
     44                               Decorate 27(gl_PerVertex) Block
     45                               Decorate 37(gl_Layer) BuiltIn Layer
     46                               Decorate 37(gl_Layer) ViewportRelativeNV
     47                               Decorate 37(gl_Layer) SecondaryViewportRelativeNV 1
     48                2:             TypeVoid
     49                3:             TypeFunction 2
     50                6:             TypeFloat 32
     51                7:             TypeVector 6(float) 4
     52                8:             TypeInt 32 1
     53                9:             TypeInt 32 0
     54               10:      9(int) Constant 2
     55               11:             TypeArray 8(int) 10
     56 12(gl_PerVertex):             TypeStruct 7(fvec4) 11
     57               13:      9(int) Constant 4
     58               14:             TypeArray 12(gl_PerVertex) 13
     59               15:             TypePointer Output 14
     60       16(gl_out):     15(ptr) Variable Output
     61               17:             TypePointer Input 8(int)
     62 18(gl_InvocationID):     17(ptr) Variable Input
     63               20:      8(int) Constant 1
     64               21:      8(int) Constant 0
     65               22:             TypePointer Output 8(int)
     66               25:      9(int) Constant 1
     67               26:             TypeArray 6(float) 25
     68 27(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 26 26 7(fvec4)
     69               28:      9(int) Constant 32
     70               29:             TypeArray 27(gl_PerVertex) 28
     71               30:             TypePointer Input 29
     72        31(gl_in):     30(ptr) Variable Input
     73               32:             TypePointer Input 7(fvec4)
     74               35:             TypePointer Output 7(fvec4)
     75     37(gl_Layer):     22(ptr) Variable Output
     76          4(main):           2 Function None 3
     77                5:             Label
     78               19:      8(int) Load 18(gl_InvocationID)
     79               23:     22(ptr) AccessChain 16(gl_out) 19 20 21
     80                               Store 23 20
     81               24:      8(int) Load 18(gl_InvocationID)
     82               33:     32(ptr) AccessChain 31(gl_in) 20 21
     83               34:    7(fvec4) Load 33
     84               36:     35(ptr) AccessChain 16(gl_out) 24 21
     85                               Store 36 34
     86                               Return
     87                               FunctionEnd
     88