1spv.specConstant.comp 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 27 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint GLCompute 4 "main" 10 ExecutionMode 4 LocalSize 32 32 1 11 Source GLSL 450 12 Name 4 "main" 13 Name 7 "bn" 14 MemberName 7(bn) 0 "a" 15 Name 9 "bi" 16 MemberDecorate 7(bn) 0 Offset 0 17 Decorate 7(bn) BufferBlock 18 Decorate 9(bi) DescriptorSet 0 19 Decorate 9(bi) Binding 0 20 Decorate 12 SpecId 18 21 Decorate 14 SpecId 19 22 Decorate 16 BuiltIn WorkgroupSize 23 2: TypeVoid 24 3: TypeFunction 2 25 6: TypeInt 32 0 26 7(bn): TypeStruct 6(int) 27 8: TypePointer Uniform 7(bn) 28 9(bi): 8(ptr) Variable Uniform 29 10: TypeInt 32 1 30 11: 10(int) Constant 0 31 12: 6(int) SpecConstant 32 32 13: 6(int) Constant 32 33 14: 6(int) SpecConstant 1 34 15: TypeVector 6(int) 3 35 16: 15(ivec3) SpecConstantComposite 12 13 14 36 17: 6(int) Constant 0 37 18: 6(int) SpecConstantOp 81 16 0 38 19: 6(int) Constant 1 39 20: 6(int) SpecConstantOp 81 16 1(GLSL.std.450) 40 21: 6(int) SpecConstantOp 132 18 20 41 22: 6(int) Constant 2 42 23: 6(int) SpecConstantOp 81 16 2 43 24: 6(int) SpecConstantOp 132 21 23 44 25: TypePointer Uniform 6(int) 45 4(main): 2 Function None 3 46 5: Label 47 26: 25(ptr) AccessChain 9(bi) 11 48 Store 26 24 49 Return 50 FunctionEnd 51