1spv.multiviewPerViewAttributes.tesc 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 80007 5// Id's are bound by 37 6 7 Capability Tessellation 8 Capability PerViewAttributesNV 9 Extension "SPV_NVX_multiview_per_view_attributes" 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint TessellationControl 4 "main" 17 19 31 13 ExecutionMode 4 OutputVertices 4 14 Source GLSL 450 15 SourceExtension "GL_NVX_multiview_per_view_attributes" 16 Name 4 "main" 17 Name 13 "gl_PerVertex" 18 MemberName 13(gl_PerVertex) 0 "gl_PositionPerViewNV" 19 MemberName 13(gl_PerVertex) 1 "gl_ViewportMaskPerViewNV" 20 Name 17 "gl_out" 21 Name 19 "gl_InvocationID" 22 Name 27 "gl_PerVertex" 23 MemberName 27(gl_PerVertex) 0 "gl_Position" 24 MemberName 27(gl_PerVertex) 1 "gl_PointSize" 25 MemberName 27(gl_PerVertex) 2 "gl_ClipDistance" 26 MemberName 27(gl_PerVertex) 3 "gl_CullDistance" 27 MemberName 27(gl_PerVertex) 5 "gl_PositionPerViewNV" 28 Name 31 "gl_in" 29 MemberDecorate 13(gl_PerVertex) 0 BuiltIn PositionPerViewNV 30 MemberDecorate 13(gl_PerVertex) 1 BuiltIn ViewportMaskPerViewNV 31 Decorate 13(gl_PerVertex) Block 32 Decorate 19(gl_InvocationID) BuiltIn InvocationId 33 MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position 34 MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize 35 MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance 36 MemberDecorate 27(gl_PerVertex) 3 BuiltIn CullDistance 37 Decorate 27(gl_PerVertex) Block 38 2: TypeVoid 39 3: TypeFunction 2 40 6: TypeFloat 32 41 7: TypeVector 6(float) 4 42 8: TypeInt 32 0 43 9: 8(int) Constant 1 44 10: TypeArray 7(fvec4) 9 45 11: TypeInt 32 1 46 12: TypeArray 11(int) 9 4713(gl_PerVertex): TypeStruct 10 12 48 14: 8(int) Constant 4 49 15: TypeArray 13(gl_PerVertex) 14 50 16: TypePointer Output 15 51 17(gl_out): 16(ptr) Variable Output 52 18: TypePointer Input 11(int) 5319(gl_InvocationID): 18(ptr) Variable Input 54 21: 11(int) Constant 1 55 22: 11(int) Constant 0 56 23: TypePointer Output 11(int) 57 26: TypeArray 6(float) 9 5827(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 26 26 10 59 28: 8(int) Constant 32 60 29: TypeArray 27(gl_PerVertex) 28 61 30: TypePointer Input 29 62 31(gl_in): 30(ptr) Variable Input 63 32: TypePointer Input 7(fvec4) 64 35: TypePointer Output 7(fvec4) 65 4(main): 2 Function None 3 66 5: Label 67 20: 11(int) Load 19(gl_InvocationID) 68 24: 23(ptr) AccessChain 17(gl_out) 20 21 22 69 Store 24 21 70 25: 11(int) Load 19(gl_InvocationID) 71 33: 32(ptr) AccessChain 31(gl_in) 21 22 72 34: 7(fvec4) Load 33 73 36: 35(ptr) AccessChain 17(gl_out) 25 22 22 74 Store 36 34 75 Return 76 FunctionEnd 77