1spv.load.bool.array.interface.block.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 80 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 77 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 450 12 Name 4 "main" 13 Name 11 "ssbo" 14 MemberName 11(ssbo) 0 "bo" 15 Name 13 "" 16 Name 18 "ub" 17 MemberName 18(ub) 0 "bi" 18 Name 20 "" 19 Name 77 "color" 20 Decorate 8 ArrayStride 4 21 Decorate 10 ArrayStride 12 22 MemberDecorate 11(ssbo) 0 Offset 0 23 Decorate 11(ssbo) BufferBlock 24 Decorate 13 DescriptorSet 0 25 Decorate 13 Binding 1 26 Decorate 16 ArrayStride 16 27 Decorate 17 ArrayStride 48 28 MemberDecorate 18(ub) 0 Offset 0 29 Decorate 18(ub) Block 30 Decorate 20 DescriptorSet 0 31 Decorate 20 Binding 0 32 Decorate 77(color) Location 0 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeInt 32 0 36 7: 6(int) Constant 3 37 8: TypeArray 6(int) 7 38 9: 6(int) Constant 2 39 10: TypeArray 8 9 40 11(ssbo): TypeStruct 10 41 12: TypePointer Uniform 11(ssbo) 42 13: 12(ptr) Variable Uniform 43 14: TypeInt 32 1 44 15: 14(int) Constant 0 45 16: TypeArray 6(int) 7 46 17: TypeArray 16 9 47 18(ub): TypeStruct 17 48 19: TypePointer Uniform 18(ub) 49 20: 19(ptr) Variable Uniform 50 21: TypePointer Uniform 17 51 24: TypeBool 52 25: TypeArray 24(bool) 7 53 26: TypeArray 25 9 54 29: 6(int) Constant 0 55 45: TypePointer Uniform 10 56 48: TypePointer Uniform 8 57 51: 6(int) Constant 1 58 53: TypePointer Uniform 6(int) 59 56: 14(int) Constant 1 60 60: 14(int) Constant 2 61 74: TypeFloat 32 62 75: TypeVector 74(float) 4 63 76: TypePointer Output 75(fvec4) 64 77(color): 76(ptr) Variable Output 65 78: 74(float) Constant 0 66 79: 75(fvec4) ConstantComposite 78 78 78 78 67 4(main): 2 Function None 3 68 5: Label 69 22: 21(ptr) AccessChain 20 15 70 23: 17 Load 22 71 27: 16 CompositeExtract 23 0 72 28: 6(int) CompositeExtract 27 0 73 30: 24(bool) INotEqual 28 29 74 31: 6(int) CompositeExtract 27 1 75 32: 24(bool) INotEqual 31 29 76 33: 6(int) CompositeExtract 27 2 77 34: 24(bool) INotEqual 33 29 78 35: 25 CompositeConstruct 30 32 34 79 36: 16 CompositeExtract 23 1 80 37: 6(int) CompositeExtract 36 0 81 38: 24(bool) INotEqual 37 29 82 39: 6(int) CompositeExtract 36 1 83 40: 24(bool) INotEqual 39 29 84 41: 6(int) CompositeExtract 36 2 85 42: 24(bool) INotEqual 41 29 86 43: 25 CompositeConstruct 38 40 42 87 44: 26 CompositeConstruct 35 43 88 46: 45(ptr) AccessChain 13 15 89 47: 25 CompositeExtract 44 0 90 49: 48(ptr) AccessChain 46 15 91 50: 24(bool) CompositeExtract 47 0 92 52: 6(int) Select 50 51 29 93 54: 53(ptr) AccessChain 49 15 94 Store 54 52 95 55: 24(bool) CompositeExtract 47 1 96 57: 6(int) Select 55 51 29 97 58: 53(ptr) AccessChain 49 56 98 Store 58 57 99 59: 24(bool) CompositeExtract 47 2 100 61: 6(int) Select 59 51 29 101 62: 53(ptr) AccessChain 49 60 102 Store 62 61 103 63: 25 CompositeExtract 44 1 104 64: 48(ptr) AccessChain 46 56 105 65: 24(bool) CompositeExtract 63 0 106 66: 6(int) Select 65 51 29 107 67: 53(ptr) AccessChain 64 15 108 Store 67 66 109 68: 24(bool) CompositeExtract 63 1 110 69: 6(int) Select 68 51 29 111 70: 53(ptr) AccessChain 64 56 112 Store 70 69 113 71: 24(bool) CompositeExtract 63 2 114 72: 6(int) Select 71 51 29 115 73: 53(ptr) AccessChain 64 60 116 Store 73 72 117 Store 77(color) 79 118 Return 119 FunctionEnd 120