1spv.subgroupSizeARB.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 12 5 6 Capability Shader 7 Capability SubgroupBallotKHR 8 Extension "SPV_KHR_shader_ballot" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Fragment 4 "main" 8 10 12 ExecutionMode 4 OriginUpperLeft 13 Source GLSL 450 14 SourceExtension "GL_ARB_shader_ballot" 15 SourceExtension "GL_KHR_shader_subgroup_basic" 16 Name 4 "main" 17 Name 8 "result" 18 Name 10 "gl_SubGroupSizeARB" 19 Decorate 8(result) Location 0 20 Decorate 10(gl_SubGroupSizeARB) Flat 21 Decorate 10(gl_SubGroupSizeARB) BuiltIn SubgroupSize 22 2: TypeVoid 23 3: TypeFunction 2 24 6: TypeInt 32 0 25 7: TypePointer Output 6(int) 26 8(result): 7(ptr) Variable Output 27 9: TypePointer Input 6(int) 2810(gl_SubGroupSizeARB): 9(ptr) Variable Input 29 4(main): 2 Function None 3 30 5: Label 31 11: 6(int) Load 10(gl_SubGroupSizeARB) 32 Store 8(result) 11 33 Return 34 FunctionEnd 35