yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
5cffd9a7
main
1spv.130.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 205 6 7 Capability Shader 8 Capability ClipDistance 9 Capability SampledRect 10 Capability Sampled1D 11 Capability SampledCubeArray 12 Capability ImageQuery 13 1: ExtInstImport "GLSL.std.450" 14 MemoryModel Logical GLSL450 15 EntryPoint Fragment 4 "main" 17 68 79 99 173 184 185 186 16 ExecutionMode 4 OriginUpperLeft 17 Source GLSL 140 18 SourceExtension "GL_ARB_gpu_shader5" 19 SourceExtension "GL_ARB_shader_texture_lod" 20 SourceExtension "GL_ARB_shading_language_420pack" 21 SourceExtension "GL_ARB_texture_cube_map_array" 22 SourceExtension "GL_ARB_texture_gather" 23 SourceExtension "GL_ARB_texture_rectangle" 24 Name 4 "main" 25 Name 6 "bar3(" 26 Name 8 "bar4(" 27 Name 10 "bar5(" 28 Name 12 "bar6(" 29 Name 17 "o" 30 Name 21 "samp2D" 31 Name 37 "samp2DA" 32 Name 47 "samp2DR" 33 Name 55 "samp2DS" 34 Name 68 "io" 35 Name 72 "Sca" 36 Name 79 "i" 37 Name 87 "Isca" 38 Name 99 "uo" 39 Name 103 "Usca" 40 Name 114 "a" 41 Name 118 "Scas" 42 Name 124 "f" 43 Name 133 "c" 44 Name 154 "a1" 45 Name 157 "m43" 46 Name 160 "b" 47 Name 167 "sampC" 48 Name 173 "gl_ClipDistance" 49 Name 183 "b" 50 Name 184 "fflat" 51 Name 185 "fsmooth" 52 Name 186 "fnop" 53 Name 193 "bounds" 54 Name 194 "s2D" 55 Name 195 "s2DR" 56 Name 199 "s2DRS" 57 Name 203 "s1D" 58 Name 204 "s2DS" 59 Decorate 17(o) Location 0 60 Decorate 21(samp2D) Binding 2 61 Decorate 21(samp2D) DescriptorSet 0 62 Decorate 37(samp2DA) Binding 5 63 Decorate 37(samp2DA) DescriptorSet 0 64 Decorate 47(samp2DR) Binding 4 65 Decorate 47(samp2DR) DescriptorSet 0 66 Decorate 55(samp2DS) Binding 3 67 Decorate 55(samp2DS) DescriptorSet 0 68 Decorate 68(io) Location 1 69 Decorate 72(Sca) Binding 6 70 Decorate 72(Sca) DescriptorSet 0 71 Decorate 79(i) Location 0 72 Decorate 87(Isca) Binding 7 73 Decorate 87(Isca) DescriptorSet 0 74 Decorate 99(uo) Location 2 75 Decorate 103(Usca) Binding 8 76 Decorate 103(Usca) DescriptorSet 0 77 Decorate 118(Scas) Binding 9 78 Decorate 118(Scas) DescriptorSet 0 79 Decorate 167(sampC) Binding 1 80 Decorate 167(sampC) DescriptorSet 0 81 Decorate 173(gl_ClipDistance) BuiltIn ClipDistance 82 Decorate 184(fflat) Flat 83 Decorate 184(fflat) Location 1 84 Decorate 185(fsmooth) Location 2 85 Decorate 186(fnop) NoPerspective 86 Decorate 186(fnop) Location 3 87 Decorate 193(bounds) Binding 0 88 Decorate 193(bounds) DescriptorSet 0 89 Decorate 194(s2D) Binding 0 90 Decorate 194(s2D) DescriptorSet 0 91 Decorate 195(s2DR) Binding 0 92 Decorate 195(s2DR) DescriptorSet 0 93 Decorate 199(s2DRS) Binding 0 94 Decorate 199(s2DRS) DescriptorSet 0 95 Decorate 203(s1D) Binding 0 96 Decorate 203(s1D) DescriptorSet 0 97 Decorate 204(s2DS) Binding 0 98 Decorate 204(s2DS) DescriptorSet 0 99 2: TypeVoid 100 3: TypeFunction 2 101 14: TypeFloat 32 102 15: TypeVector 14(float) 4 103 16: TypePointer Output 15(fvec4) 104 17(o): 16(ptr) Variable Output 105 18: TypeImage 14(float) 2D sampled format:Unknown 106 19: TypeSampledImage 18 107 20: TypePointer UniformConstant 19 108 21(samp2D): 20(ptr) Variable UniformConstant 109 23: TypeVector 14(float) 2 110 24: 14(float) Constant 1050253722 111 25: 23(fvec2) ConstantComposite 24 24 112 26: TypeInt 32 1 113 27: TypeVector 26(int) 2 114 28: 26(int) Constant 1 115 29: 27(ivec2) ConstantComposite 28 28 116 30: 26(int) Constant 0 117 34: TypeImage 14(float) 2D array sampled format:Unknown 118 35: TypeSampledImage 34 119 36: TypePointer UniformConstant 35 120 37(samp2DA): 36(ptr) Variable UniformConstant 121 39: TypeVector 14(float) 3 122 40: 39(fvec3) ConstantComposite 24 24 24 123 44: TypeImage 14(float) Rect sampled format:Unknown 124 45: TypeSampledImage 44 125 46: TypePointer UniformConstant 45 126 47(samp2DR): 46(ptr) Variable UniformConstant 127 52: TypeImage 14(float) 2D depth sampled format:Unknown 128 53: TypeSampledImage 52 129 54: TypePointer UniformConstant 53 130 55(samp2DS): 54(ptr) Variable UniformConstant 131 57: 14(float) Constant 1067869798 132 62: 26(int) Constant 2 133 66: TypeVector 26(int) 3 134 67: TypePointer Output 66(ivec3) 135 68(io): 67(ptr) Variable Output 136 69: TypeImage 14(float) Cube array sampled format:Unknown 137 70: TypeSampledImage 69 138 71: TypePointer UniformConstant 70 139 72(Sca): 71(ptr) Variable UniformConstant 140 74: 26(int) Constant 3 141 78: TypePointer Input 15(fvec4) 142 79(i): 78(ptr) Variable Input 143 84: TypeImage 26(int) Cube array sampled format:Unknown 144 85: TypeSampledImage 84 145 86: TypePointer UniformConstant 85 146 87(Isca): 86(ptr) Variable UniformConstant 147 90: 14(float) Constant 1060320051 148 91: TypeVector 26(int) 4 149 96: TypeInt 32 0 150 97: TypeVector 96(int) 4 151 98: TypePointer Output 97(ivec4) 152 99(uo): 98(ptr) Variable Output 153 100: TypeImage 96(int) Cube array sampled format:Unknown 154 101: TypeSampledImage 100 155 102: TypePointer UniformConstant 101 156 103(Usca): 102(ptr) Variable UniformConstant 157 109: 14(float) Constant 1071225242 158 113: TypePointer Private 39(fvec3) 159 114(a): 113(ptr) Variable Private 160 115: TypeImage 14(float) Cube depth array sampled format:Unknown 161 116: TypeSampledImage 115 162 117: TypePointer UniformConstant 116 163 118(Scas): 117(ptr) Variable UniformConstant 164 123: TypePointer Function 14(float) 165 127: 96(int) Constant 1 166 128: TypePointer Input 14(float) 167 132: TypePointer Function 91(ivec4) 168 136: 14(float) Constant 1036831949 169 137: 39(fvec3) ConstantComposite 136 136 136 170 138: 14(float) Constant 1045220557 171 139: 39(fvec3) ConstantComposite 138 138 138 172 155: TypeMatrix 39(fvec3) 4 173 156: TypePointer Function 155 174 161: 14(float) Constant 1073741824 175 164: TypeImage 14(float) Cube sampled format:Unknown 176 165: TypeSampledImage 164 177 166: TypePointer UniformConstant 165 178 167(sampC): 166(ptr) Variable UniformConstant 179 170: 96(int) Constant 4 180 171: TypeArray 14(float) 170 181 172: TypePointer Input 171 182173(gl_ClipDistance): 172(ptr) Variable Input 183 176: TypePointer Output 14(float) 184 182: TypePointer Private 14(float) 185 183(b): 182(ptr) Variable Private 186 184(fflat): 128(ptr) Variable Input 187 185(fsmooth): 128(ptr) Variable Input 188 186(fnop): 128(ptr) Variable Input 189 187: 96(int) Constant 3 190 188: TypeArray 26(int) 187 191 189: 26(int) Constant 10 192 190: 26(int) Constant 23 193 191: 26(int) Constant 32 194 192: 188 ConstantComposite 189 190 191 195 193(bounds): 20(ptr) Variable UniformConstant 196 194(s2D): 20(ptr) Variable UniformConstant 197 195(s2DR): 46(ptr) Variable UniformConstant 198 196: TypeImage 14(float) Rect depth sampled format:Unknown 199 197: TypeSampledImage 196 200 198: TypePointer UniformConstant 197 201 199(s2DRS): 198(ptr) Variable UniformConstant 202 200: TypeImage 14(float) 1D sampled format:Unknown 203 201: TypeSampledImage 200 204 202: TypePointer UniformConstant 201 205 203(s1D): 202(ptr) Variable UniformConstant 206 204(s2DS): 54(ptr) Variable UniformConstant 207 4(main): 2 Function None 3 208 5: Label 209 168: 165 Load 167(sampC) 210 169: 15(fvec4) ImageGather 168 139 30 211 Store 17(o) 169 212 174: 128(ptr) AccessChain 173(gl_ClipDistance) 74 213 175: 14(float) Load 174 214 177: 176(ptr) AccessChain 17(o) 127 215 Store 177 175 216 178: 2 FunctionCall 6(bar3() 217 179: 2 FunctionCall 8(bar4() 218 180: 2 FunctionCall 10(bar5() 219 181: 2 FunctionCall 12(bar6() 220 Return 221 FunctionEnd 222 6(bar3(): 2 Function None 3 223 7: Label 224 22: 19 Load 21(samp2D) 225 31: 15(fvec4) ImageGather 22 25 30 ConstOffset 29 226 32: 15(fvec4) Load 17(o) 227 33: 15(fvec4) FAdd 32 31 228 Store 17(o) 33 229 38: 35 Load 37(samp2DA) 230 41: 15(fvec4) ImageGather 38 40 30 ConstOffset 29 231 42: 15(fvec4) Load 17(o) 232 43: 15(fvec4) FAdd 42 41 233 Store 17(o) 43 234 Return 235 FunctionEnd 236 8(bar4(): 2 Function None 3 237 9: Label 238 48: 45 Load 47(samp2DR) 239 49: 15(fvec4) ImageGather 48 25 30 ConstOffset 29 240 50: 15(fvec4) Load 17(o) 241 51: 15(fvec4) FAdd 50 49 242 Store 17(o) 51 243 56: 53 Load 55(samp2DS) 244 58: 15(fvec4) ImageDrefGather 56 25 57 ConstOffset 29 245 59: 15(fvec4) Load 17(o) 246 60: 15(fvec4) FAdd 59 58 247 Store 17(o) 60 248 61: 19 Load 21(samp2D) 249 63: 15(fvec4) ImageGather 61 25 62 ConstOffset 29 250 64: 15(fvec4) Load 17(o) 251 65: 15(fvec4) FAdd 64 63 252 Store 17(o) 65 253 Return 254 FunctionEnd 255 10(bar5(): 2 Function None 3 256 11: Label 257 124(f): 123(ptr) Variable Function 258 133(c): 132(ptr) Variable Function 259 73: 70 Load 72(Sca) 260 75: 69 Image 73 261 76: 66(ivec3) ImageQuerySizeLod 75 74 262 Store 68(io) 76 263 77: 70 Load 72(Sca) 264 80: 15(fvec4) Load 79(i) 265 81: 15(fvec4) ImageSampleImplicitLod 77 80 266 82: 15(fvec4) Load 17(o) 267 83: 15(fvec4) FAdd 82 81 268 Store 17(o) 83 269 88: 85 Load 87(Isca) 270 89: 15(fvec4) Load 79(i) 271 92: 91(ivec4) ImageSampleImplicitLod 88 89 Bias 90 272 93: 66(ivec3) VectorShuffle 92 92 0 1 2 273 94: 66(ivec3) Load 68(io) 274 95: 66(ivec3) IAdd 94 93 275 Store 68(io) 95 276 104: 101 Load 103(Usca) 277 105: 15(fvec4) Load 79(i) 278 106: 97(ivec4) ImageSampleImplicitLod 104 105 279 Store 99(uo) 106 280 107: 70 Load 72(Sca) 281 108: 15(fvec4) Load 79(i) 282 110: 15(fvec4) ImageSampleExplicitLod 107 108 Lod 109 283 111: 15(fvec4) Load 17(o) 284 112: 15(fvec4) FAdd 111 110 285 Store 17(o) 112 286 119: 116 Load 118(Scas) 287 120: 115 Image 119 288 121: 66(ivec3) ImageQuerySizeLod 120 74 289 122: 39(fvec3) ConvertSToF 121 290 Store 114(a) 122 291 125: 116 Load 118(Scas) 292 126: 15(fvec4) Load 79(i) 293 129: 128(ptr) AccessChain 79(i) 127 294 130: 14(float) Load 129 295 131: 14(float) ImageSampleDrefImplicitLod 125 126 130 296 Store 124(f) 131 297 134: 85 Load 87(Isca) 298 135: 15(fvec4) Load 79(i) 299 140: 91(ivec4) ImageSampleExplicitLod 134 135 Grad 137 139 300 Store 133(c) 140 301 141: 39(fvec3) Load 114(a) 302 142: 14(float) Load 124(f) 303 143: 91(ivec4) Load 133(c) 304 144: 15(fvec4) ConvertSToF 143 305 145: 15(fvec4) CompositeConstruct 142 142 142 142 306 146: 15(fvec4) FAdd 145 144 307 147: 14(float) CompositeExtract 141 0 308 148: 14(float) CompositeExtract 141 1 309 149: 14(float) CompositeExtract 141 2 310 150: 14(float) CompositeExtract 146 0 311 151: 15(fvec4) CompositeConstruct 147 148 149 150 312 152: 15(fvec4) Load 17(o) 313 153: 15(fvec4) FAdd 152 151 314 Store 17(o) 153 315 Return 316 FunctionEnd 317 12(bar6(): 2 Function None 3 318 13: Label 319 154(a1): 123(ptr) Variable Function 320 157(m43): 156(ptr) Variable Function 321 160(b): 123(ptr) Variable Function 322 158: 123(ptr) AccessChain 157(m43) 74 127 323 159: 14(float) Load 158 324 Store 154(a1) 159 325 162: 14(float) Load 154(a1) 326 163: 14(float) FMul 161 162 327 Store 160(b) 163 328 Return 329 FunctionEnd