spv.specConstantOp.logical.comp // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 46 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 4 "main" ExecutionMode 4 LocalSize 1 1 1 Source GLSL 450 Name 4 "main" Name 8 "b" Name 10 "a" Name 16 "andConst" Name 22 "orConst" Name 31 "nestedConst" Name 34 "inlineExpr" Name 43 "unusedConst" Decorate 10(a) SpecId 0 Decorate 45 BuiltIn WorkgroupSize 2: TypeVoid 3: TypeFunction 2 6: TypeBool 7: TypePointer Function 6(bool) 9: TypeInt 32 0 10(a): 9(int) SpecConstant 0 11: 9(int) Constant 0 12: 6(bool) SpecConstantOp 170 10(a) 11 13: 9(int) Constant 1 14: 9(int) SpecConstantOp 128 10(a) 13 15: 6(bool) SpecConstantOp 170 14 13 16(andConst): 6(bool) SpecConstantOp 167 12 15 17: 6(bool) SpecConstantOp 168 16(andConst) 19: 6(bool) SpecConstantOp 171 10(a) 11 20: 9(int) SpecConstantOp 128 10(a) 13 21: 6(bool) SpecConstantOp 170 20 13 22(orConst): 6(bool) SpecConstantOp 166 19 21 23: 6(bool) SpecConstantOp 168 22(orConst) 25: 6(bool) SpecConstantOp 170 10(a) 11 26: 6(bool) SpecConstantOp 170 10(a) 13 27: 9(int) Constant 2 28: 9(int) SpecConstantOp 128 10(a) 27 29: 6(bool) SpecConstantOp 170 28 27 30: 6(bool) SpecConstantOp 166 26 29 31(nestedConst): 6(bool) SpecConstantOp 167 25 30 32: 6(bool) SpecConstantOp 168 31(nestedConst) 35: 6(bool) SpecConstantOp 170 10(a) 11 36: 9(int) SpecConstantOp 128 10(a) 13 37: 6(bool) SpecConstantOp 170 36 13 38: 6(bool) SpecConstantOp 167 35 37 39: 6(bool) SpecConstantOp 168 38 40: 6(bool) SpecConstantOp 170 10(a) 11 41: 9(int) SpecConstantOp 132 10(a) 27 42: 6(bool) SpecConstantOp 170 41 11 43(unusedConst): 6(bool) SpecConstantOp 167 40 42 44: TypeVector 9(int) 3 45: 44(ivec3) ConstantComposite 13 13 13 4(main): 2 Function None 3 5: Label 8(b): 7(ptr) Variable Function 34(inlineExpr): 7(ptr) Variable Function Store 8(b) 17 18: 6(bool) Load 8(b) 24: 6(bool) LogicalOr 18 23 33: 6(bool) LogicalOr 24 32 Store 8(b) 33 Store 34(inlineExpr) 39 Return FunctionEnd