yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b937eae5
main
1spv.longVectorBuiltinsuint32.comp 2// Module Version 10300 3// Generated by (magic number): 8000b 4// Id's are bound by 128 5 6 Capability Shader 7 Capability LongVectorEXT 8 Capability ExpectAssumeKHR 9 Extension "SPV_EXT_long_vector" 10 Extension "SPV_KHR_expect_assume" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint GLCompute 4 "main" 14 ExecutionMode 4 LocalSize 64 1 1 15 Source GLSL 450 16 SourceExtension "GL_EXT_buffer_reference" 17 SourceExtension "GL_EXT_expect_assume" 18 SourceExtension "GL_EXT_long_vector" 19 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 20 SourceExtension "GL_KHR_memory_scope_semantics" 21 Name 4 "main" 22 Name 9 "vu" 23 Name 12 "u" 24 Name 41 "vb" 25 Name 62 "tempReturn" 26 Name 65 "tempArg" 27 Name 66 "ResType" 28 Name 72 "tempReturn" 29 Name 75 "tempArg" 30 Name 83 "tempArg" 31 Name 84 "tempArg" 32 Name 93 "i" 33 Name 106 "vi" 34 Decorate 127 BuiltIn WorkgroupSize 35 2: TypeVoid 36 3: TypeFunction 2 37 6: TypeInt 32 0 38 7: TypeVector 6(int) 5 39 8: TypePointer Function 7(ivec) 40 11: TypePointer Function 6(int) 41 38: TypeBool 42 39: TypeVector 38(bool) 5 43 40: TypePointer Function 39(bvec) 44 66(ResType): TypeStruct 7(ivec) 7(ivec) 45 91: TypeInt 32 1 46 92: TypePointer Function 91(int) 47 104: TypeVector 91(int) 5 48 105: TypePointer Function 104(ivec) 49 124: TypeVector 6(int) 3 50 125: 6(int) Constant 64 51 126: 6(int) Constant 1 52 127: 124(ivec3) ConstantComposite 125 126 126 53 4(main): 2 Function None 3 54 5: Label 55 9(vu): 8(ptr) Variable Function 56 12(u): 11(ptr) Variable Function 57 41(vb): 40(ptr) Variable Function 58 62(tempReturn): 8(ptr) Variable Function 59 65(tempArg): 8(ptr) Variable Function 60 72(tempReturn): 8(ptr) Variable Function 61 75(tempArg): 8(ptr) Variable Function 62 83(tempArg): 8(ptr) Variable Function 63 84(tempArg): 8(ptr) Variable Function 64 93(i): 92(ptr) Variable Function 65 106(vi): 105(ptr) Variable Function 66 10: 7(ivec) Load 9(vu) 67 13: 6(int) Load 12(u) 68 14: 7(ivec) CompositeConstruct 13 13 13 13 13 69 15: 7(ivec) ExtInst 1(GLSL.std.450) 38(UMin) 10 14 70 Store 9(vu) 15 71 16: 7(ivec) Load 9(vu) 72 17: 7(ivec) Load 9(vu) 73 18: 7(ivec) ExtInst 1(GLSL.std.450) 38(UMin) 16 17 74 Store 9(vu) 18 75 19: 7(ivec) Load 9(vu) 76 20: 6(int) Load 12(u) 77 21: 7(ivec) CompositeConstruct 20 20 20 20 20 78 22: 7(ivec) ExtInst 1(GLSL.std.450) 41(UMax) 19 21 79 Store 9(vu) 22 80 23: 7(ivec) Load 9(vu) 81 24: 7(ivec) Load 9(vu) 82 25: 7(ivec) ExtInst 1(GLSL.std.450) 41(UMax) 23 24 83 Store 9(vu) 25 84 26: 7(ivec) Load 9(vu) 85 27: 6(int) Load 12(u) 86 28: 6(int) Load 12(u) 87 29: 7(ivec) CompositeConstruct 27 27 27 27 27 88 30: 7(ivec) CompositeConstruct 28 28 28 28 28 89 31: 7(ivec) ExtInst 1(GLSL.std.450) 44(UClamp) 26 29 30 90 Store 9(vu) 31 91 32: 7(ivec) Load 9(vu) 92 33: 7(ivec) Load 9(vu) 93 34: 7(ivec) Load 9(vu) 94 35: 7(ivec) ExtInst 1(GLSL.std.450) 44(UClamp) 32 33 34 95 Store 9(vu) 35 96 36: 7(ivec) Load 9(vu) 97 37: 7(ivec) Load 9(vu) 98 42: 39(bvec) Load 41(vb) 99 43: 7(ivec) Select 42 37 36 100 Store 9(vu) 43 101 44: 7(ivec) Load 9(vu) 102 45: 7(ivec) Load 9(vu) 103 46: 39(bvec) ULessThan 44 45 104 Store 41(vb) 46 105 47: 7(ivec) Load 9(vu) 106 48: 7(ivec) Load 9(vu) 107 49: 39(bvec) ULessThanEqual 47 48 108 Store 41(vb) 49 109 50: 7(ivec) Load 9(vu) 110 51: 7(ivec) Load 9(vu) 111 52: 39(bvec) UGreaterThan 50 51 112 Store 41(vb) 52 113 53: 7(ivec) Load 9(vu) 114 54: 7(ivec) Load 9(vu) 115 55: 39(bvec) UGreaterThanEqual 53 54 116 Store 41(vb) 55 117 56: 7(ivec) Load 9(vu) 118 57: 7(ivec) Load 9(vu) 119 58: 39(bvec) IEqual 56 57 120 Store 41(vb) 58 121 59: 7(ivec) Load 9(vu) 122 60: 7(ivec) Load 9(vu) 123 61: 39(bvec) INotEqual 59 60 124 Store 41(vb) 61 125 63: 7(ivec) Load 9(vu) 126 64: 7(ivec) Load 9(vu) 127 67: 66(ResType) IAddCarry 63 64 128 68: 7(ivec) CompositeExtract 67 1 129 Store 65(tempArg) 68 130 69: 7(ivec) CompositeExtract 67 0 131 Store 62(tempReturn) 69 132 70: 7(ivec) Load 65(tempArg) 133 Store 9(vu) 70 134 71: 7(ivec) Load 62(tempReturn) 135 Store 9(vu) 71 136 73: 7(ivec) Load 9(vu) 137 74: 7(ivec) Load 9(vu) 138 76: 66(ResType) ISubBorrow 73 74 139 77: 7(ivec) CompositeExtract 76 1 140 Store 75(tempArg) 77 141 78: 7(ivec) CompositeExtract 76 0 142 Store 72(tempReturn) 78 143 79: 7(ivec) Load 75(tempArg) 144 Store 9(vu) 79 145 80: 7(ivec) Load 72(tempReturn) 146 Store 9(vu) 80 147 81: 7(ivec) Load 9(vu) 148 82: 7(ivec) Load 9(vu) 149 85: 66(ResType) UMulExtended 81 82 150 86: 7(ivec) CompositeExtract 85 0 151 Store 84(tempArg) 86 152 87: 7(ivec) CompositeExtract 85 1 153 Store 83(tempArg) 87 154 88: 7(ivec) Load 83(tempArg) 155 Store 9(vu) 88 156 89: 7(ivec) Load 84(tempArg) 157 Store 9(vu) 89 158 90: 7(ivec) Load 9(vu) 159 94: 91(int) Load 93(i) 160 95: 91(int) Load 93(i) 161 96: 7(ivec) BitFieldUExtract 90 94 95 162 Store 9(vu) 96 163 97: 7(ivec) Load 9(vu) 164 98: 7(ivec) Load 9(vu) 165 99: 91(int) Load 93(i) 166 100: 91(int) Load 93(i) 167 101: 7(ivec) BitFieldInsert 97 98 99 100 168 Store 9(vu) 101 169 102: 7(ivec) Load 9(vu) 170 103: 7(ivec) BitReverse 102 171 Store 9(vu) 103 172 107: 7(ivec) Load 9(vu) 173 108: 104(ivec) BitCount 107 174 Store 106(vi) 108 175 109: 7(ivec) Load 9(vu) 176 110: 104(ivec) ExtInst 1(GLSL.std.450) 73(FindILsb) 109 177 Store 106(vi) 110 178 111: 7(ivec) Load 9(vu) 179 112: 104(ivec) ExtInst 1(GLSL.std.450) 75(FindUMsb) 111 180 Store 106(vi) 112 181 113: 7(ivec) Load 9(vu) 182 114: 7(ivec) Load 9(vu) 183 115: 39(bvec) Load 41(vb) 184 116: 7(ivec) Select 115 114 113 185 Store 9(vu) 116 186 117: 39(bvec) Load 41(vb) 187 118: 39(bvec) Load 41(vb) 188 119: 39(bvec) Load 41(vb) 189 120: 39(bvec) Select 119 118 117 190 Store 41(vb) 120 191 121: 7(ivec) Load 9(vu) 192 122: 7(ivec) Load 9(vu) 193 123: 7(ivec) ExpectKHR 121 122 194 Store 9(vu) 123 195 Return 196 FunctionEnd