1 spv.shaderGroupVote.comp 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 33 5 6 Capability Shader 7 Capability SubgroupVoteKHR 8 Extension "SPV_KHR_subgroup_vote" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint GLCompute 4 "main" 12 ExecutionMode 4 LocalSize 4 4 1 13 Source GLSL 450 14 SourceExtension "GL_ARB_shader_group_vote" 15 Name 4 "main" 16 Name 8 "b1" 17 Name 10 "Buffers" 18 MemberName 10(Buffers) 0 "b" 19 Name 12 "" 20 MemberDecorate 10(Buffers) 0 Offset 0 21 Decorate 10(Buffers) BufferBlock 22 Decorate 12 DescriptorSet 0 23 Decorate 12 Binding 0 24 Decorate 32 BuiltIn WorkgroupSize 25 2: TypeVoid 26 3: TypeFunction 2 27 6: TypeBool 28 7: TypePointer Function 6(bool) 29 9: TypeInt 32 0 30 10(Buffers): TypeStruct 9(int) 31 11: TypePointer Uniform 10(Buffers) 32 12: 11(ptr) Variable Uniform 33 13: TypeInt 32 1 34 14: 13(int) Constant 0 35 15: TypePointer Uniform 9(int) 36 18: 9(int) Constant 0 37 27: 9(int) Constant 1 38 30: TypeVector 9(int) 3 39 31: 9(int) Constant 4 40 32: 30(ivec3) ConstantComposite 31 31 27 41 4(main): 2 Function None 3 42 5: Label 43 8(b1): 7(ptr) Variable Function 44 16: 15(ptr) AccessChain 12 14 45 17: 9(int) Load 16 46 19: 6(bool) INotEqual 17 18 47 Store 8(b1) 19 48 20: 6(bool) Load 8(b1) 49 21: 6(bool) SubgroupAnyKHR 20 50 Store 8(b1) 21 51 22: 6(bool) Load 8(b1) 52 23: 6(bool) SubgroupAllKHR 22 53 Store 8(b1) 23 54 24: 6(bool) Load 8(b1) 55 25: 6(bool) SubgroupAllEqualKHR 24 56 Store 8(b1) 25 57 26: 6(bool) Load 8(b1) 58 28: 9(int) Select 26 27 18 59 29: 15(ptr) AccessChain 12 14 60 Store 29 28 61 Return 62 FunctionEnd 63