1spv.debuginfo.glsl.tese 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 315 6 7 Capability Tessellation 8 Extension "SPV_KHR_non_semantic_info" 9 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 10 2: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint TessellationEvaluation 13 "main" 39 56 80 99 124 160 267 279 286 297 303 13 ExecutionMode 13 Quads 14 ExecutionMode 13 SpacingEqual 15 ExecutionMode 13 VertexOrderCw 16 8: String "uint" 17 14: String "main" 18 17: String "" 19 25: String "float" 20 32: String "uv1" 21 41: String "inUV" 22 44: String "int" 23 58: String "gl_TessCoord" 24 66: String "uv2" 25 82: String "outUV" 26 93: String "n1" 27 101: String "inNormal" 28 112: String "n2" 29 126: String "outNormal" 30 139: String "pos1" 31 146: String "gl_Position" 32 149: String "gl_PointSize" 33 152: String "gl_CullDistance" 34 156: String "gl_PerVertex" 35 162: String "gl_in" 36 174: String "pos2" 37 187: String "pos" 38 198: String "type.2d.image" 39 200: String "@type.2d.image" 40 204: String "type.sampled.image" 41 205: String "@type.sampled.image" 42 209: String "displacementMap" 43 223: String "modelview" 44 228: String "lightPos" 45 231: String "frustumPlanes" 46 233: String "tessellatedEdgeSize" 47 237: String "viewportDim" 48 241: String "UBO" 49 245: String "ubo" 50 281: String "outViewVec" 51 288: String "outLightVec" 52 299: String "outWorldPos" 53 305: String "outEyePos" 54 Name 13 "main" 55 Name 30 "uv1" 56 Name 39 "inUV" 57 Name 56 "gl_TessCoord" 58 Name 64 "uv2" 59 Name 80 "outUV" 60 Name 91 "n1" 61 Name 99 "inNormal" 62 Name 110 "n2" 63 Name 124 "outNormal" 64 Name 137 "pos1" 65 Name 144 "gl_PerVertex" 66 MemberName 144(gl_PerVertex) 0 "gl_Position" 67 MemberName 144(gl_PerVertex) 1 "gl_PointSize" 68 MemberName 144(gl_PerVertex) 2 "gl_ClipDistance" 69 MemberName 144(gl_PerVertex) 3 "gl_CullDistance" 70 Name 160 "gl_in" 71 Name 172 "pos2" 72 Name 185 "pos" 73 Name 207 "displacementMap" 74 Name 221 "UBO" 75 MemberName 221(UBO) 0 "projection" 76 MemberName 221(UBO) 1 "modelview" 77 MemberName 221(UBO) 2 "lightPos" 78 MemberName 221(UBO) 3 "frustumPlanes" 79 MemberName 221(UBO) 4 "displacementFactor" 80 MemberName 221(UBO) 5 "tessellationFactor" 81 MemberName 221(UBO) 6 "viewportDim" 82 MemberName 221(UBO) 7 "tessellatedEdgeSize" 83 Name 243 "ubo" 84 Name 256 "gl_PerVertex" 85 MemberName 256(gl_PerVertex) 0 "gl_Position" 86 MemberName 256(gl_PerVertex) 1 "gl_PointSize" 87 MemberName 256(gl_PerVertex) 2 "gl_ClipDistance" 88 MemberName 256(gl_PerVertex) 3 "gl_CullDistance" 89 Name 267 "" 90 Name 279 "outViewVec" 91 Name 286 "outLightVec" 92 Name 297 "outWorldPos" 93 Name 303 "outEyePos" 94 Decorate 39(inUV) Location 1 95 Decorate 56(gl_TessCoord) BuiltIn TessCoord 96 Decorate 80(outUV) Location 1 97 Decorate 99(inNormal) Location 0 98 Decorate 124(outNormal) Location 0 99 MemberDecorate 144(gl_PerVertex) 0 BuiltIn Position 100 MemberDecorate 144(gl_PerVertex) 1 BuiltIn PointSize 101 MemberDecorate 144(gl_PerVertex) 2 BuiltIn ClipDistance 102 MemberDecorate 144(gl_PerVertex) 3 BuiltIn CullDistance 103 Decorate 144(gl_PerVertex) Block 104 Decorate 207(displacementMap) DescriptorSet 0 105 Decorate 207(displacementMap) Binding 1 106 Decorate 219 ArrayStride 16 107 MemberDecorate 221(UBO) 0 ColMajor 108 MemberDecorate 221(UBO) 0 Offset 0 109 MemberDecorate 221(UBO) 0 MatrixStride 16 110 MemberDecorate 221(UBO) 1 ColMajor 111 MemberDecorate 221(UBO) 1 Offset 64 112 MemberDecorate 221(UBO) 1 MatrixStride 16 113 MemberDecorate 221(UBO) 2 Offset 128 114 MemberDecorate 221(UBO) 3 Offset 144 115 MemberDecorate 221(UBO) 4 Offset 240 116 MemberDecorate 221(UBO) 5 Offset 244 117 MemberDecorate 221(UBO) 6 Offset 248 118 MemberDecorate 221(UBO) 7 Offset 256 119 Decorate 221(UBO) Block 120 Decorate 243(ubo) DescriptorSet 0 121 Decorate 243(ubo) Binding 0 122 MemberDecorate 256(gl_PerVertex) 0 BuiltIn Position 123 MemberDecorate 256(gl_PerVertex) 1 BuiltIn PointSize 124 MemberDecorate 256(gl_PerVertex) 2 BuiltIn ClipDistance 125 MemberDecorate 256(gl_PerVertex) 3 BuiltIn CullDistance 126 Decorate 256(gl_PerVertex) Block 127 Decorate 279(outViewVec) Location 2 128 Decorate 286(outLightVec) Location 3 129 Decorate 297(outWorldPos) Location 5 130 Decorate 303(outEyePos) Location 4 131 3: TypeVoid 132 4: TypeFunction 3 133 6: TypeInt 32 0 134 9: 6(int) Constant 32 135 10: 6(int) Constant 6 136 11: 6(int) Constant 0 137 7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 8 9 10 11 138 12: 6(int) Constant 3 139 5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 3 140 16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 17 141 19: 6(int) Constant 1 142 20: 6(int) Constant 4 143 21: 6(int) Constant 2 144 18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 19 20 16 21 145 15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 14 5 16 11 11 18 14 12 11 146 24: TypeFloat 32 147 26: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 25 9 12 11 148 27: TypeVector 24(float) 2 149 28: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 21 150 29: TypePointer Function 27(fvec2) 151 33: 6(int) Constant 56 152 31: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 32 28 16 33 11 15 20 153 35: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt) 154 36: TypeArray 27(fvec2) 9 155 37: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 28 9 156 38: TypePointer Input 36 157 39(inUV): 38(ptr) Variable Input 158 42: 6(int) Constant 8 159 40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 41 37 16 33 11 18 41 39(inUV) 42 160 43: TypeInt 32 1 161 45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 44 9 20 11 162 46: 43(int) Constant 0 163 47: TypePointer Input 27(fvec2) 164 50: 43(int) Constant 1 165 53: TypeVector 24(float) 3 166 54: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 12 167 55: TypePointer Input 53(fvec3) 16856(gl_TessCoord): 55(ptr) Variable Input 169 57: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 58 54 16 33 11 18 58 56(gl_TessCoord) 42 170 59: TypePointer Input 24(float) 171 67: 6(int) Constant 57 172 65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 66 28 16 67 11 15 20 173 69: 43(int) Constant 3 174 72: 43(int) Constant 2 175 79: TypePointer Output 27(fvec2) 176 80(outUV): 79(ptr) Variable Output 177 83: 6(int) Constant 58 178 81: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 82 28 16 83 11 18 82 80(outUV) 42 179 90: TypePointer Function 53(fvec3) 180 94: 6(int) Constant 60 181 92: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 93 54 16 94 11 15 20 182 96: TypeArray 53(fvec3) 9 183 97: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 54 9 184 98: TypePointer Input 96 185 99(inNormal): 98(ptr) Variable Input 186 100: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 101 97 16 94 11 18 101 99(inNormal) 42 187 113: 6(int) Constant 61 188 111: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 112 54 16 113 11 15 20 189 123: TypePointer Output 53(fvec3) 190 124(outNormal): 123(ptr) Variable Output 191 127: 6(int) Constant 62 192 125: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 126 54 16 127 11 18 126 124(outNormal) 42 193 134: TypeVector 24(float) 4 194 135: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 20 195 136: TypePointer Function 134(fvec4) 196 140: 6(int) Constant 65 197 138: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 139 135 16 140 11 15 20 198 142: TypeArray 24(float) 19 199 143: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 26 19 200144(gl_PerVertex): TypeStruct 134(fvec4) 24(float) 142 142 201 147: 6(int) Constant 1756 202 145: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 146 135 16 19 147 11 11 12 203 150: 6(int) Constant 1774 204 148: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 149 26 16 19 150 11 11 12 205 153: 6(int) Constant 1817 206 151: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 152 143 16 19 153 11 11 12 207 154: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 152 143 16 19 153 11 11 12 208 155: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 156 19 16 140 11 18 156 11 12 145 148 151 154 209 157: TypeArray 144(gl_PerVertex) 9 210 158: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 155 9 211 159: TypePointer Input 157 212 160(gl_in): 159(ptr) Variable Input 213 161: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 162 158 16 140 11 18 162 160(gl_in) 42 214 163: TypePointer Input 134(fvec4) 215 175: 6(int) Constant 66 216 173: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 174 135 16 175 11 15 20 217 188: 6(int) Constant 67 218 186: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 187 135 16 188 11 15 20 219 196: TypeImage 24(float) 2D sampled format:Unknown 220 199: 6(int) Constant 69 221 201: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(Unknown) 222 197: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 198 11 16 199 11 18 200 201 12 223 202: TypeSampledImage 196 224 203: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 204 11 16 199 11 18 205 201 12 225 206: TypePointer UniformConstant 202 226207(displacementMap): 206(ptr) Variable UniformConstant 227 208: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 209 203 16 199 11 18 209 207(displacementMap) 42 228 212: 24(float) Constant 0 229 215: TypeMatrix 134(fvec4) 4 230 217: TypeBool 231 218: 217(bool) ConstantTrue 232 216: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 135 20 218 233 219: TypeArray 134(fvec4) 10 234 220: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 135 10 235 221(UBO): TypeStruct 215 215 134(fvec4) 219 24(float) 24(float) 27(fvec2) 24(float) 236 224: 6(int) Constant 30 237 225: 6(int) Constant 7 238 222: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 223 216 16 224 225 11 11 12 239 226: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 223 216 16 224 225 11 11 12 240 229: 6(int) Constant 31 241 227: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 228 135 16 229 225 11 11 12 242 230: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 231 220 16 9 225 11 11 12 243 234: 6(int) Constant 36 244 232: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 233 26 16 234 42 11 11 12 245 235: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 233 26 16 234 42 11 11 12 246 238: 6(int) Constant 35 247 236: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 237 28 16 238 225 11 11 12 248 239: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 233 26 16 234 42 11 11 12 249 240: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 241 19 16 199 11 18 241 11 12 222 226 227 230 232 235 236 239 250 242: TypePointer Uniform 221(UBO) 251 243(ubo): 242(ptr) Variable Uniform 252 244: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 245 240 16 199 11 18 245 243(ubo) 42 253 246: 43(int) Constant 4 254 247: TypePointer Uniform 24(float) 255 251: TypePointer Function 24(float) 256256(gl_PerVertex): TypeStruct 134(fvec4) 24(float) 142 142 257 258: 6(int) Constant 165 258 257: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 146 135 16 19 258 11 11 12 259 260: 6(int) Constant 183 260 259: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 149 26 16 19 260 11 11 12 261 262: 6(int) Constant 226 262 261: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 152 143 16 19 262 11 11 12 263 263: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 152 143 16 19 262 11 11 12 264 265: 6(int) Constant 71 265 264: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 156 19 16 265 11 18 156 11 12 257 259 261 263 266 266: TypePointer Output 256(gl_PerVertex) 267 267: 266(ptr) Variable Output 268 268: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 17 264 16 265 11 18 17 267 42 269 269: TypePointer Uniform 215 270 277: TypePointer Output 134(fvec4) 271 279(outViewVec): 123(ptr) Variable Output 272 282: 6(int) Constant 74 273 280: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 281 54 16 282 11 18 281 279(outViewVec) 42 274286(outLightVec): 123(ptr) Variable Output 275 289: 6(int) Constant 75 276 287: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 288 54 16 289 11 18 288 286(outLightVec) 42 277 290: TypePointer Uniform 134(fvec4) 278297(outWorldPos): 123(ptr) Variable Output 279 300: 6(int) Constant 76 280 298: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 299 54 16 300 11 18 299 297(outWorldPos) 42 281 303(outEyePos): 123(ptr) Variable Output 282 306: 6(int) Constant 77 283 304: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 305 54 16 306 11 18 305 303(outEyePos) 42 284 13(main): 3 Function None 4 285 22: Label 286 30(uv1): 29(ptr) Variable Function 287 64(uv2): 29(ptr) Variable Function 288 91(n1): 90(ptr) Variable Function 289 110(n2): 90(ptr) Variable Function 290 137(pos1): 136(ptr) Variable Function 291 172(pos2): 136(ptr) Variable Function 292 185(pos): 136(ptr) Variable Function 293 23: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 15 13(main) 294 34: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 31 30(uv1) 35 295 48: 47(ptr) AccessChain 39(inUV) 46 296 49: 27(fvec2) Load 48 297 51: 47(ptr) AccessChain 39(inUV) 50 298 52: 27(fvec2) Load 51 299 60: 59(ptr) AccessChain 56(gl_TessCoord) 11 300 61: 24(float) Load 60 301 62: 27(fvec2) CompositeConstruct 61 61 302 63: 27(fvec2) ExtInst 2(GLSL.std.450) 46(FMix) 49 52 62 303 Store 30(uv1) 63 304 68: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 65 64(uv2) 35 305 70: 47(ptr) AccessChain 39(inUV) 69 306 71: 27(fvec2) Load 70 307 73: 47(ptr) AccessChain 39(inUV) 72 308 74: 27(fvec2) Load 73 309 75: 59(ptr) AccessChain 56(gl_TessCoord) 11 310 76: 24(float) Load 75 311 77: 27(fvec2) CompositeConstruct 76 76 312 78: 27(fvec2) ExtInst 2(GLSL.std.450) 46(FMix) 71 74 77 313 Store 64(uv2) 78 314 84: 27(fvec2) Load 30(uv1) 315 85: 27(fvec2) Load 64(uv2) 316 86: 59(ptr) AccessChain 56(gl_TessCoord) 19 317 87: 24(float) Load 86 318 88: 27(fvec2) CompositeConstruct 87 87 319 89: 27(fvec2) ExtInst 2(GLSL.std.450) 46(FMix) 84 85 88 320 Store 80(outUV) 89 321 95: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 92 91(n1) 35 322 102: 55(ptr) AccessChain 99(inNormal) 46 323 103: 53(fvec3) Load 102 324 104: 55(ptr) AccessChain 99(inNormal) 50 325 105: 53(fvec3) Load 104 326 106: 59(ptr) AccessChain 56(gl_TessCoord) 11 327 107: 24(float) Load 106 328 108: 53(fvec3) CompositeConstruct 107 107 107 329 109: 53(fvec3) ExtInst 2(GLSL.std.450) 46(FMix) 103 105 108 330 Store 91(n1) 109 331 114: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 111 110(n2) 35 332 115: 55(ptr) AccessChain 99(inNormal) 69 333 116: 53(fvec3) Load 115 334 117: 55(ptr) AccessChain 99(inNormal) 72 335 118: 53(fvec3) Load 117 336 119: 59(ptr) AccessChain 56(gl_TessCoord) 11 337 120: 24(float) Load 119 338 121: 53(fvec3) CompositeConstruct 120 120 120 339 122: 53(fvec3) ExtInst 2(GLSL.std.450) 46(FMix) 116 118 121 340 Store 110(n2) 122 341 128: 53(fvec3) Load 91(n1) 342 129: 53(fvec3) Load 110(n2) 343 130: 59(ptr) AccessChain 56(gl_TessCoord) 19 344 131: 24(float) Load 130 345 132: 53(fvec3) CompositeConstruct 131 131 131 346 133: 53(fvec3) ExtInst 2(GLSL.std.450) 46(FMix) 128 129 132 347 Store 124(outNormal) 133 348 141: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 138 137(pos1) 35 349 164: 163(ptr) AccessChain 160(gl_in) 46 46 350 165: 134(fvec4) Load 164 351 166: 163(ptr) AccessChain 160(gl_in) 50 46 352 167: 134(fvec4) Load 166 353 168: 59(ptr) AccessChain 56(gl_TessCoord) 11 354 169: 24(float) Load 168 355 170: 134(fvec4) CompositeConstruct 169 169 169 169 356 171: 134(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 165 167 170 357 Store 137(pos1) 171 358 176: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 173 172(pos2) 35 359 177: 163(ptr) AccessChain 160(gl_in) 69 46 360 178: 134(fvec4) Load 177 361 179: 163(ptr) AccessChain 160(gl_in) 72 46 362 180: 134(fvec4) Load 179 363 181: 59(ptr) AccessChain 56(gl_TessCoord) 11 364 182: 24(float) Load 181 365 183: 134(fvec4) CompositeConstruct 182 182 182 182 366 184: 134(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 178 180 183 367 Store 172(pos2) 184 368 189: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 186 185(pos) 35 369 190: 134(fvec4) Load 137(pos1) 370 191: 134(fvec4) Load 172(pos2) 371 192: 59(ptr) AccessChain 56(gl_TessCoord) 19 372 193: 24(float) Load 192 373 194: 134(fvec4) CompositeConstruct 193 193 193 193 374 195: 134(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 190 191 194 375 Store 185(pos) 195 376 210: 202 Load 207(displacementMap) 377 211: 27(fvec2) Load 80(outUV) 378 213: 134(fvec4) ImageSampleExplicitLod 210 211 Lod 212 379 214: 24(float) CompositeExtract 213 0 380 248: 247(ptr) AccessChain 243(ubo) 246 381 249: 24(float) Load 248 382 250: 24(float) FMul 214 249 383 252: 251(ptr) AccessChain 185(pos) 19 384 253: 24(float) Load 252 385 254: 24(float) FSub 253 250 386 255: 251(ptr) AccessChain 185(pos) 19 387 Store 255 254 388 270: 269(ptr) AccessChain 243(ubo) 46 389 271: 215 Load 270 390 272: 269(ptr) AccessChain 243(ubo) 50 391 273: 215 Load 272 392 274: 215 MatrixTimesMatrix 271 273 393 275: 134(fvec4) Load 185(pos) 394 276: 134(fvec4) MatrixTimesVector 274 275 395 278: 277(ptr) AccessChain 267 46 396 Store 278 276 397 283: 134(fvec4) Load 185(pos) 398 284: 53(fvec3) VectorShuffle 283 283 0 1 2 399 285: 53(fvec3) FNegate 284 400 Store 279(outViewVec) 285 401 291: 290(ptr) AccessChain 243(ubo) 72 402 292: 134(fvec4) Load 291 403 293: 53(fvec3) VectorShuffle 292 292 0 1 2 404 294: 53(fvec3) Load 279(outViewVec) 405 295: 53(fvec3) FAdd 293 294 406 296: 53(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 295 407 Store 286(outLightVec) 296 408 301: 134(fvec4) Load 185(pos) 409 302: 53(fvec3) VectorShuffle 301 301 0 1 2 410 Store 297(outWorldPos) 302 411 307: 269(ptr) AccessChain 243(ubo) 50 412 308: 215 Load 307 413 309: 134(fvec4) Load 185(pos) 414 310: 134(fvec4) MatrixTimesVector 308 309 415 311: 24(float) CompositeExtract 310 0 416 312: 24(float) CompositeExtract 310 1 417 313: 24(float) CompositeExtract 310 2 418 314: 53(fvec3) CompositeConstruct 311 312 313 419 Store 303(outEyePos) 314 420 Return 421 FunctionEnd 422