1617a3babSopenharmony_cispv.subgroup.vert
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 Shader
7617a3babSopenharmony_ci                              Capability GroupNonUniform
8617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
9617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
10617a3babSopenharmony_ci                              EntryPoint Vertex 4  "main" 15 18 20
11617a3babSopenharmony_ci                              Source GLSL 450
12617a3babSopenharmony_ci                              SourceExtension  "GL_KHR_shader_subgroup_basic"
13617a3babSopenharmony_ci                              Name 4  "main"
14617a3babSopenharmony_ci                              Name 9  "Output"
15617a3babSopenharmony_ci                              MemberName 9(Output) 0  "result"
16617a3babSopenharmony_ci                              Name 11  ""
17617a3babSopenharmony_ci                              Name 15  "gl_VertexIndex"
18617a3babSopenharmony_ci                              Name 18  "gl_SubgroupSize"
19617a3babSopenharmony_ci                              Name 20  "gl_SubgroupInvocationID"
20617a3babSopenharmony_ci                              Decorate 8 ArrayStride 16
21617a3babSopenharmony_ci                              MemberDecorate 9(Output) 0 Offset 0
22617a3babSopenharmony_ci                              Decorate 9(Output) Block
23617a3babSopenharmony_ci                              Decorate 11 DescriptorSet 0
24617a3babSopenharmony_ci                              Decorate 11 Binding 0
25617a3babSopenharmony_ci                              Decorate 15(gl_VertexIndex) BuiltIn VertexIndex
26617a3babSopenharmony_ci                              Decorate 18(gl_SubgroupSize) RelaxedPrecision
27617a3babSopenharmony_ci                              Decorate 18(gl_SubgroupSize) BuiltIn SubgroupSize
28617a3babSopenharmony_ci                              Decorate 19 RelaxedPrecision
29617a3babSopenharmony_ci                              Decorate 20(gl_SubgroupInvocationID) RelaxedPrecision
30617a3babSopenharmony_ci                              Decorate 20(gl_SubgroupInvocationID) BuiltIn SubgroupLocalInvocationId
31617a3babSopenharmony_ci                              Decorate 21 RelaxedPrecision
32617a3babSopenharmony_ci                              Decorate 23 RelaxedPrecision
33617a3babSopenharmony_ci               2:             TypeVoid
34617a3babSopenharmony_ci               3:             TypeFunction 2
35617a3babSopenharmony_ci               6:             TypeInt 32 0
36617a3babSopenharmony_ci               7:             TypeVector 6(int) 4
37617a3babSopenharmony_ci               8:             TypeRuntimeArray 7(ivec4)
38617a3babSopenharmony_ci       9(Output):             TypeStruct 8
39617a3babSopenharmony_ci              10:             TypePointer StorageBuffer 9(Output)
40617a3babSopenharmony_ci              11:     10(ptr) Variable StorageBuffer
41617a3babSopenharmony_ci              12:             TypeInt 32 1
42617a3babSopenharmony_ci              13:     12(int) Constant 0
43617a3babSopenharmony_ci              14:             TypePointer Input 12(int)
44617a3babSopenharmony_ci15(gl_VertexIndex):     14(ptr) Variable Input
45617a3babSopenharmony_ci              17:             TypePointer Input 6(int)
46617a3babSopenharmony_ci18(gl_SubgroupSize):     17(ptr) Variable Input
47617a3babSopenharmony_ci20(gl_SubgroupInvocationID):     17(ptr) Variable Input
48617a3babSopenharmony_ci              22:      6(int) Constant 0
49617a3babSopenharmony_ci              24:             TypePointer StorageBuffer 7(ivec4)
50617a3babSopenharmony_ci         4(main):           2 Function None 3
51617a3babSopenharmony_ci               5:             Label
52617a3babSopenharmony_ci              16:     12(int) Load 15(gl_VertexIndex)
53617a3babSopenharmony_ci              19:      6(int) Load 18(gl_SubgroupSize)
54617a3babSopenharmony_ci              21:      6(int) Load 20(gl_SubgroupInvocationID)
55617a3babSopenharmony_ci              23:    7(ivec4) CompositeConstruct 19 21 22 22
56617a3babSopenharmony_ci              25:     24(ptr) AccessChain 11 13 16
57617a3babSopenharmony_ci                              Store 25 23
58617a3babSopenharmony_ci                              Return
59617a3babSopenharmony_ci                              FunctionEnd
60