1 spv.multiviewPerViewAttributes.vert 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 29 5 6 Capability Shader 7 Capability PerViewAttributesNV 8 Extension "SPV_NVX_multiview_per_view_attributes" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Vertex 4 "main" 11 20 24 12 Source GLSL 450 13 SourceExtension "GL_NVX_multiview_per_view_attributes" 14 Name 4 "main" 15 Name 11 "gl_ViewportMaskPerViewNV" 16 Name 20 "gl_PositionPerViewNV" 17 Name 22 "gl_PerVertex" 18 MemberName 22(gl_PerVertex) 0 "gl_Position" 19 MemberName 22(gl_PerVertex) 1 "gl_PointSize" 20 MemberName 22(gl_PerVertex) 2 "gl_ClipDistance" 21 MemberName 22(gl_PerVertex) 3 "gl_CullDistance" 22 Name 24 "" 23 Decorate 11(gl_ViewportMaskPerViewNV) BuiltIn ViewportMaskPerViewNV 24 Decorate 20(gl_PositionPerViewNV) BuiltIn PositionPerViewNV 25 MemberDecorate 22(gl_PerVertex) 0 BuiltIn Position 26 MemberDecorate 22(gl_PerVertex) 1 BuiltIn PointSize 27 MemberDecorate 22(gl_PerVertex) 2 BuiltIn ClipDistance 28 MemberDecorate 22(gl_PerVertex) 3 BuiltIn CullDistance 29 Decorate 22(gl_PerVertex) Block 30 2: TypeVoid 31 3: TypeFunction 2 32 6: TypeInt 32 1 33 7: TypeInt 32 0 34 8: 7(int) Constant 1 35 9: TypeArray 6(int) 8 36 10: TypePointer Output 9 37 11(gl_ViewportMaskPerViewNV): 10(ptr) Variable Output 38 12: 6(int) Constant 0 39 13: 6(int) Constant 1 40 14: TypePointer Output 6(int) 41 16: TypeFloat 32 42 17: TypeVector 16(float) 4 43 18: TypeArray 17(fvec4) 8 44 19: TypePointer Output 18 45 20(gl_PositionPerViewNV): 19(ptr) Variable Output 46 21: TypeArray 16(float) 8 47 22(gl_PerVertex): TypeStruct 17(fvec4) 16(float) 21 21 48 23: TypePointer Output 22(gl_PerVertex) 49 24: 23(ptr) Variable Output 50 25: TypePointer Output 17(fvec4) 51 4(main): 2 Function None 3 52 5: Label 53 15: 14(ptr) AccessChain 11(gl_ViewportMaskPerViewNV) 12 54 Store 15 13 55 26: 25(ptr) AccessChain 24 12 56 27: 17(fvec4) Load 26 57 28: 25(ptr) AccessChain 20(gl_PositionPerViewNV) 12 58 Store 28 27 59 Return 60 FunctionEnd 61