1617a3babSopenharmony_cispv.subgroup.tesc 2617a3babSopenharmony_ci// Module Version 10300 3617a3babSopenharmony_ci// Generated by (magic number): 8000b 4617a3babSopenharmony_ci// Id's are bound by 26 5617a3babSopenharmony_ci 6617a3babSopenharmony_ci Capability Tessellation 7617a3babSopenharmony_ci Capability GroupNonUniform 8617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 9617a3babSopenharmony_ci MemoryModel Logical GLSL450 10617a3babSopenharmony_ci EntryPoint TessellationControl 4 "main" 15 18 20 11617a3babSopenharmony_ci ExecutionMode 4 OutputVertices 1 12617a3babSopenharmony_ci Source GLSL 450 13617a3babSopenharmony_ci SourceExtension "GL_KHR_shader_subgroup_basic" 14617a3babSopenharmony_ci Name 4 "main" 15617a3babSopenharmony_ci Name 9 "Output" 16617a3babSopenharmony_ci MemberName 9(Output) 0 "result" 17617a3babSopenharmony_ci Name 11 "" 18617a3babSopenharmony_ci Name 15 "gl_PrimitiveID" 19617a3babSopenharmony_ci Name 18 "gl_SubgroupSize" 20617a3babSopenharmony_ci Name 20 "gl_SubgroupInvocationID" 21617a3babSopenharmony_ci Decorate 8 ArrayStride 16 22617a3babSopenharmony_ci MemberDecorate 9(Output) 0 Offset 0 23617a3babSopenharmony_ci Decorate 9(Output) Block 24617a3babSopenharmony_ci Decorate 11 DescriptorSet 0 25617a3babSopenharmony_ci Decorate 11 Binding 0 26617a3babSopenharmony_ci Decorate 15(gl_PrimitiveID) BuiltIn PrimitiveId 27617a3babSopenharmony_ci Decorate 18(gl_SubgroupSize) RelaxedPrecision 28617a3babSopenharmony_ci Decorate 18(gl_SubgroupSize) BuiltIn SubgroupSize 29617a3babSopenharmony_ci Decorate 19 RelaxedPrecision 30617a3babSopenharmony_ci Decorate 20(gl_SubgroupInvocationID) RelaxedPrecision 31617a3babSopenharmony_ci Decorate 20(gl_SubgroupInvocationID) BuiltIn SubgroupLocalInvocationId 32617a3babSopenharmony_ci Decorate 21 RelaxedPrecision 33617a3babSopenharmony_ci Decorate 23 RelaxedPrecision 34617a3babSopenharmony_ci 2: TypeVoid 35617a3babSopenharmony_ci 3: TypeFunction 2 36617a3babSopenharmony_ci 6: TypeInt 32 0 37617a3babSopenharmony_ci 7: TypeVector 6(int) 4 38617a3babSopenharmony_ci 8: TypeRuntimeArray 7(ivec4) 39617a3babSopenharmony_ci 9(Output): TypeStruct 8 40617a3babSopenharmony_ci 10: TypePointer StorageBuffer 9(Output) 41617a3babSopenharmony_ci 11: 10(ptr) Variable StorageBuffer 42617a3babSopenharmony_ci 12: TypeInt 32 1 43617a3babSopenharmony_ci 13: 12(int) Constant 0 44617a3babSopenharmony_ci 14: TypePointer Input 12(int) 45617a3babSopenharmony_ci15(gl_PrimitiveID): 14(ptr) Variable Input 46617a3babSopenharmony_ci 17: TypePointer Input 6(int) 47617a3babSopenharmony_ci18(gl_SubgroupSize): 17(ptr) Variable Input 48617a3babSopenharmony_ci20(gl_SubgroupInvocationID): 17(ptr) Variable Input 49617a3babSopenharmony_ci 22: 6(int) Constant 0 50617a3babSopenharmony_ci 24: TypePointer StorageBuffer 7(ivec4) 51617a3babSopenharmony_ci 4(main): 2 Function None 3 52617a3babSopenharmony_ci 5: Label 53617a3babSopenharmony_ci 16: 12(int) Load 15(gl_PrimitiveID) 54617a3babSopenharmony_ci 19: 6(int) Load 18(gl_SubgroupSize) 55617a3babSopenharmony_ci 21: 6(int) Load 20(gl_SubgroupInvocationID) 56617a3babSopenharmony_ci 23: 7(ivec4) CompositeConstruct 19 21 22 22 57617a3babSopenharmony_ci 25: 24(ptr) AccessChain 11 13 16 58617a3babSopenharmony_ci Store 25 23 59617a3babSopenharmony_ci Return 60617a3babSopenharmony_ci FunctionEnd 61