1 spv.subgroup.frag 2 // Module Version 10300 3 // Generated by (magic number): 80007 4 // Id's are bound by 17 5 6 Capability Shader 7 Capability GroupNonUniform 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Fragment 4 "main" 9 11 13 11 ExecutionMode 4 OriginUpperLeft 12 Source GLSL 450 13 SourceExtension "GL_KHR_shader_subgroup_basic" 14 Name 4 "main" 15 Name 9 "data" 16 Name 11 "gl_SubgroupSize" 17 Name 13 "gl_SubgroupInvocationID" 18 Decorate 9(data) Location 0 19 Decorate 11(gl_SubgroupSize) RelaxedPrecision 20 Decorate 11(gl_SubgroupSize) Flat 21 Decorate 11(gl_SubgroupSize) BuiltIn SubgroupSize 22 Decorate 12 RelaxedPrecision 23 Decorate 13(gl_SubgroupInvocationID) RelaxedPrecision 24 Decorate 13(gl_SubgroupInvocationID) Flat 25 Decorate 13(gl_SubgroupInvocationID) BuiltIn SubgroupLocalInvocationId 26 Decorate 14 RelaxedPrecision 27 2: TypeVoid 28 3: TypeFunction 2 29 6: TypeInt 32 0 30 7: TypeVector 6(int) 4 31 8: TypePointer Output 7(ivec4) 32 9(data): 8(ptr) Variable Output 33 10: TypePointer Input 6(int) 34 11(gl_SubgroupSize): 10(ptr) Variable Input 35 13(gl_SubgroupInvocationID): 10(ptr) Variable Input 36 15: 6(int) Constant 0 37 4(main): 2 Function None 3 38 5: Label 39 12: 6(int) Load 11(gl_SubgroupSize) 40 14: 6(int) Load 13(gl_SubgroupInvocationID) 41 16: 7(ivec4) CompositeConstruct 12 14 15 15 42 Store 9(data) 16 43 Return 44 FunctionEnd 45