1spv.layer.tese 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 10 5 6 Capability Tessellation 7 Capability ShaderViewportIndexLayerNV 8 Extension "SPV_EXT_shader_viewport_index_layer" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint TessellationEvaluation 4 "main" 8 12 ExecutionMode 4 Triangles 13 ExecutionMode 4 SpacingEqual 14 ExecutionMode 4 VertexOrderCcw 15 Source GLSL 450 16 SourceExtension "GL_ARB_shader_viewport_layer_array" 17 Name 4 "main" 18 Name 8 "gl_Layer" 19 Decorate 8(gl_Layer) BuiltIn Layer 20 2: TypeVoid 21 3: TypeFunction 2 22 6: TypeInt 32 1 23 7: TypePointer Output 6(int) 24 8(gl_Layer): 7(ptr) Variable Output 25 9: 6(int) Constant 1 26 4(main): 2 Function None 3 27 5: Label 28 Store 8(gl_Layer) 9 29 Return 30 FunctionEnd 31