1hlsl.cbuffer-identifier.vert 2WARNING: 0:29: '' : mul() matrix size mismatch 3 4Shader version: 500 50:? Sequence 60:22 Function Definition: @main(struct-VS_INPUT-vf4-vf31; ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 70:22 Function Parameters: 80:22 'input' ( in structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 90:? Sequence 100:23 Sequence 110:23 move second child to first child ( temp int) 120:23 'ConstantBuffer' ( temp int) 130:23 Constant: 140:23 42 (const int) 150:25 Sequence 160:25 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 170:25 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 180:25 Constant: 190:25 0.000000 200:25 0.000000 210:25 0.000000 220:25 0.000000 230:25 0.000000 240:25 0.000000 250:25 0.000000 260:26 move second child to first child ( temp 4-component vector of float) 270:26 Pos: direct index for structure ( temp 4-component vector of float) 280:26 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 290:26 Constant: 300:26 0 (const int) 310:26 matrix-times-vector ( temp 4-component vector of float) 320:26 World: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 330:26 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 340:26 Constant: 350:26 0 (const uint) 360:26 Pos: direct index for structure ( temp 4-component vector of float) 370:26 'input' ( in structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 380:26 Constant: 390:26 0 (const int) 400:27 move second child to first child ( temp 4-component vector of float) 410:27 Pos: direct index for structure ( temp 4-component vector of float) 420:27 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 430:27 Constant: 440:27 0 (const int) 450:27 matrix-times-vector ( temp 4-component vector of float) 460:27 View: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 470:27 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 480:27 Constant: 490:27 1 (const uint) 500:27 Pos: direct index for structure ( temp 4-component vector of float) 510:27 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 520:27 Constant: 530:27 0 (const int) 540:28 move second child to first child ( temp 4-component vector of float) 550:28 Pos: direct index for structure ( temp 4-component vector of float) 560:28 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 570:28 Constant: 580:28 0 (const int) 590:28 matrix-times-vector ( temp 4-component vector of float) 600:28 Projection: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 610:28 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 620:28 Constant: 630:28 2 (const uint) 640:28 Pos: direct index for structure ( temp 4-component vector of float) 650:28 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 660:28 Constant: 670:28 0 (const int) 680:29 move second child to first child ( temp 3-component vector of float) 690:29 Norm: direct index for structure ( temp 3-component vector of float) 700:29 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 710:29 Constant: 720:29 1 (const int) 730:29 Construct vec3 ( temp 3-component vector of float) 740:29 matrix-times-vector ( temp 4-component vector of float) 750:29 Construct mat3x4 ( uniform 3X4 matrix of float) 760:29 World: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 770:29 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 780:29 Constant: 790:29 0 (const uint) 800:29 Norm: direct index for structure ( temp 3-component vector of float) 810:29 'input' ( in structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 820:29 Constant: 830:29 1 (const int) 840:31 Branch: Return with expression 850:31 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 860:22 Function Definition: main( ( temp void) 870:22 Function Parameters: 880:? Sequence 890:22 Sequence 900:22 move second child to first child ( temp 4-component vector of float) 910:22 Pos: direct index for structure ( temp 4-component vector of float) 920:? 'input' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 930:22 Constant: 940:22 0 (const int) 950:? 'input.Pos' (layout( location=0) in 4-component vector of float) 960:22 move second child to first child ( temp 3-component vector of float) 970:22 Norm: direct index for structure ( temp 3-component vector of float) 980:? 'input' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 990:22 Constant: 1000:22 1 (const int) 1010:? 'input.Norm' (layout( location=1) in 3-component vector of float) 1020:22 Sequence 1030:22 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1040:22 'flattenTemp' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1050:22 Function Call: @main(struct-VS_INPUT-vf4-vf31; ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1060:? 'input' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1070:22 move second child to first child ( temp 4-component vector of float) 1080:? '@entryPointOutput.Pos' ( out 4-component vector of float Position) 1090:22 Pos: direct index for structure ( temp 4-component vector of float) 1100:22 'flattenTemp' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1110:22 Constant: 1120:22 0 (const int) 1130:22 move second child to first child ( temp 3-component vector of float) 1140:? '@entryPointOutput.Norm' (layout( location=0) out 3-component vector of float) 1150:22 Norm: direct index for structure ( temp 3-component vector of float) 1160:22 'flattenTemp' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1170:22 Constant: 1180:22 1 (const int) 1190:? Linker Objects 1200:? 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 1210:? '@entryPointOutput.Pos' ( out 4-component vector of float Position) 1220:? '@entryPointOutput.Norm' (layout( location=0) out 3-component vector of float) 1230:? 'input.Pos' (layout( location=0) in 4-component vector of float) 1240:? 'input.Norm' (layout( location=1) in 3-component vector of float) 125 126 127Linked vertex stage: 128 129 130Shader version: 500 1310:? Sequence 1320:22 Function Definition: @main(struct-VS_INPUT-vf4-vf31; ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1330:22 Function Parameters: 1340:22 'input' ( in structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1350:? Sequence 1360:23 Sequence 1370:23 move second child to first child ( temp int) 1380:23 'ConstantBuffer' ( temp int) 1390:23 Constant: 1400:23 42 (const int) 1410:25 Sequence 1420:25 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1430:25 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1440:25 Constant: 1450:25 0.000000 1460:25 0.000000 1470:25 0.000000 1480:25 0.000000 1490:25 0.000000 1500:25 0.000000 1510:25 0.000000 1520:26 move second child to first child ( temp 4-component vector of float) 1530:26 Pos: direct index for structure ( temp 4-component vector of float) 1540:26 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1550:26 Constant: 1560:26 0 (const int) 1570:26 matrix-times-vector ( temp 4-component vector of float) 1580:26 World: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 1590:26 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 1600:26 Constant: 1610:26 0 (const uint) 1620:26 Pos: direct index for structure ( temp 4-component vector of float) 1630:26 'input' ( in structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1640:26 Constant: 1650:26 0 (const int) 1660:27 move second child to first child ( temp 4-component vector of float) 1670:27 Pos: direct index for structure ( temp 4-component vector of float) 1680:27 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1690:27 Constant: 1700:27 0 (const int) 1710:27 matrix-times-vector ( temp 4-component vector of float) 1720:27 View: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 1730:27 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 1740:27 Constant: 1750:27 1 (const uint) 1760:27 Pos: direct index for structure ( temp 4-component vector of float) 1770:27 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1780:27 Constant: 1790:27 0 (const int) 1800:28 move second child to first child ( temp 4-component vector of float) 1810:28 Pos: direct index for structure ( temp 4-component vector of float) 1820:28 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1830:28 Constant: 1840:28 0 (const int) 1850:28 matrix-times-vector ( temp 4-component vector of float) 1860:28 Projection: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 1870:28 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 1880:28 Constant: 1890:28 2 (const uint) 1900:28 Pos: direct index for structure ( temp 4-component vector of float) 1910:28 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1920:28 Constant: 1930:28 0 (const int) 1940:29 move second child to first child ( temp 3-component vector of float) 1950:29 Norm: direct index for structure ( temp 3-component vector of float) 1960:29 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 1970:29 Constant: 1980:29 1 (const int) 1990:29 Construct vec3 ( temp 3-component vector of float) 2000:29 matrix-times-vector ( temp 4-component vector of float) 2010:29 Construct mat3x4 ( uniform 3X4 matrix of float) 2020:29 World: direct index for structure (layout( row_major std140) uniform 4X4 matrix of float) 2030:29 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 2040:29 Constant: 2050:29 0 (const uint) 2060:29 Norm: direct index for structure ( temp 3-component vector of float) 2070:29 'input' ( in structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2080:29 Constant: 2090:29 1 (const int) 2100:31 Branch: Return with expression 2110:31 'output' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2120:22 Function Definition: main( ( temp void) 2130:22 Function Parameters: 2140:? Sequence 2150:22 Sequence 2160:22 move second child to first child ( temp 4-component vector of float) 2170:22 Pos: direct index for structure ( temp 4-component vector of float) 2180:? 'input' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2190:22 Constant: 2200:22 0 (const int) 2210:? 'input.Pos' (layout( location=0) in 4-component vector of float) 2220:22 move second child to first child ( temp 3-component vector of float) 2230:22 Norm: direct index for structure ( temp 3-component vector of float) 2240:? 'input' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2250:22 Constant: 2260:22 1 (const int) 2270:? 'input.Norm' (layout( location=1) in 3-component vector of float) 2280:22 Sequence 2290:22 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2300:22 'flattenTemp' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2310:22 Function Call: @main(struct-VS_INPUT-vf4-vf31; ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2320:? 'input' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2330:22 move second child to first child ( temp 4-component vector of float) 2340:? '@entryPointOutput.Pos' ( out 4-component vector of float Position) 2350:22 Pos: direct index for structure ( temp 4-component vector of float) 2360:22 'flattenTemp' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2370:22 Constant: 2380:22 0 (const int) 2390:22 move second child to first child ( temp 3-component vector of float) 2400:? '@entryPointOutput.Norm' (layout( location=0) out 3-component vector of float) 2410:22 Norm: direct index for structure ( temp 3-component vector of float) 2420:22 'flattenTemp' ( temp structure{ temp 4-component vector of float Pos, temp 3-component vector of float Norm}) 2430:22 Constant: 2440:22 1 (const int) 2450:? Linker Objects 2460:? 'anon@0' (layout( binding=0 row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float World, layout( row_major std140) uniform 4X4 matrix of float View, layout( row_major std140) uniform 4X4 matrix of float Projection}) 2470:? '@entryPointOutput.Pos' ( out 4-component vector of float Position) 2480:? '@entryPointOutput.Norm' (layout( location=0) out 3-component vector of float) 2490:? 'input.Pos' (layout( location=0) in 4-component vector of float) 2500:? 'input.Norm' (layout( location=1) in 3-component vector of float) 251 252// Module Version 10000 253// Generated by (magic number): 80007 254// Id's are bound by 106 255 256 Capability Shader 257 1: ExtInstImport "GLSL.std.450" 258 MemoryModel Logical GLSL450 259 EntryPoint Vertex 4 "main" 87 91 99 103 260 Source HLSL 500 261 Name 4 "main" 262 Name 9 "VS_INPUT" 263 MemberName 9(VS_INPUT) 0 "Pos" 264 MemberName 9(VS_INPUT) 1 "Norm" 265 Name 11 "PS_INPUT" 266 MemberName 11(PS_INPUT) 0 "Pos" 267 MemberName 11(PS_INPUT) 1 "Norm" 268 Name 14 "@main(struct-VS_INPUT-vf4-vf31;" 269 Name 13 "input" 270 Name 18 "ConstantBuffer" 271 Name 21 "output" 272 Name 28 "C" 273 MemberName 28(C) 0 "World" 274 MemberName 28(C) 1 "View" 275 MemberName 28(C) 2 "Projection" 276 Name 30 "" 277 Name 85 "input" 278 Name 87 "input.Pos" 279 Name 91 "input.Norm" 280 Name 94 "flattenTemp" 281 Name 95 "param" 282 Name 99 "@entryPointOutput.Pos" 283 Name 103 "@entryPointOutput.Norm" 284 MemberDecorate 28(C) 0 RowMajor 285 MemberDecorate 28(C) 0 Offset 0 286 MemberDecorate 28(C) 0 MatrixStride 16 287 MemberDecorate 28(C) 1 RowMajor 288 MemberDecorate 28(C) 1 Offset 64 289 MemberDecorate 28(C) 1 MatrixStride 16 290 MemberDecorate 28(C) 2 RowMajor 291 MemberDecorate 28(C) 2 Offset 128 292 MemberDecorate 28(C) 2 MatrixStride 16 293 Decorate 28(C) Block 294 Decorate 30 DescriptorSet 0 295 Decorate 30 Binding 0 296 Decorate 87(input.Pos) Location 0 297 Decorate 91(input.Norm) Location 1 298 Decorate 99(@entryPointOutput.Pos) BuiltIn Position 299 Decorate 103(@entryPointOutput.Norm) Location 0 300 2: TypeVoid 301 3: TypeFunction 2 302 6: TypeFloat 32 303 7: TypeVector 6(float) 4 304 8: TypeVector 6(float) 3 305 9(VS_INPUT): TypeStruct 7(fvec4) 8(fvec3) 306 10: TypePointer Function 9(VS_INPUT) 307 11(PS_INPUT): TypeStruct 7(fvec4) 8(fvec3) 308 12: TypeFunction 11(PS_INPUT) 10(ptr) 309 16: TypeInt 32 1 310 17: TypePointer Function 16(int) 311 19: 16(int) Constant 42 312 20: TypePointer Function 11(PS_INPUT) 313 22: 6(float) Constant 0 314 23: 7(fvec4) ConstantComposite 22 22 22 22 315 24: 8(fvec3) ConstantComposite 22 22 22 316 25:11(PS_INPUT) ConstantComposite 23 24 317 26: 16(int) Constant 0 318 27: TypeMatrix 7(fvec4) 4 319 28(C): TypeStruct 27 27 27 320 29: TypePointer Uniform 28(C) 321 30: 29(ptr) Variable Uniform 322 31: TypePointer Uniform 27 323 34: TypePointer Function 7(fvec4) 324 39: 16(int) Constant 1 325 46: 16(int) Constant 2 326 55: TypeMatrix 7(fvec4) 3 327 56: 6(float) Constant 1065353216 328 73: TypePointer Function 8(fvec3) 329 86: TypePointer Input 7(fvec4) 330 87(input.Pos): 86(ptr) Variable Input 331 90: TypePointer Input 8(fvec3) 332 91(input.Norm): 90(ptr) Variable Input 333 98: TypePointer Output 7(fvec4) 33499(@entryPointOutput.Pos): 98(ptr) Variable Output 335 102: TypePointer Output 8(fvec3) 336103(@entryPointOutput.Norm): 102(ptr) Variable Output 337 4(main): 2 Function None 3 338 5: Label 339 85(input): 10(ptr) Variable Function 340 94(flattenTemp): 20(ptr) Variable Function 341 95(param): 10(ptr) Variable Function 342 88: 7(fvec4) Load 87(input.Pos) 343 89: 34(ptr) AccessChain 85(input) 26 344 Store 89 88 345 92: 8(fvec3) Load 91(input.Norm) 346 93: 73(ptr) AccessChain 85(input) 39 347 Store 93 92 348 96: 9(VS_INPUT) Load 85(input) 349 Store 95(param) 96 350 97:11(PS_INPUT) FunctionCall 14(@main(struct-VS_INPUT-vf4-vf31;) 95(param) 351 Store 94(flattenTemp) 97 352 100: 34(ptr) AccessChain 94(flattenTemp) 26 353 101: 7(fvec4) Load 100 354 Store 99(@entryPointOutput.Pos) 101 355 104: 73(ptr) AccessChain 94(flattenTemp) 39 356 105: 8(fvec3) Load 104 357 Store 103(@entryPointOutput.Norm) 105 358 Return 359 FunctionEnd 36014(@main(struct-VS_INPUT-vf4-vf31;):11(PS_INPUT) Function None 12 361 13(input): 10(ptr) FunctionParameter 362 15: Label 36318(ConstantBuffer): 17(ptr) Variable Function 364 21(output): 20(ptr) Variable Function 365 Store 18(ConstantBuffer) 19 366 Store 21(output) 25 367 32: 31(ptr) AccessChain 30 26 368 33: 27 Load 32 369 35: 34(ptr) AccessChain 13(input) 26 370 36: 7(fvec4) Load 35 371 37: 7(fvec4) MatrixTimesVector 33 36 372 38: 34(ptr) AccessChain 21(output) 26 373 Store 38 37 374 40: 31(ptr) AccessChain 30 39 375 41: 27 Load 40 376 42: 34(ptr) AccessChain 21(output) 26 377 43: 7(fvec4) Load 42 378 44: 7(fvec4) MatrixTimesVector 41 43 379 45: 34(ptr) AccessChain 21(output) 26 380 Store 45 44 381 47: 31(ptr) AccessChain 30 46 382 48: 27 Load 47 383 49: 34(ptr) AccessChain 21(output) 26 384 50: 7(fvec4) Load 49 385 51: 7(fvec4) MatrixTimesVector 48 50 386 52: 34(ptr) AccessChain 21(output) 26 387 Store 52 51 388 53: 31(ptr) AccessChain 30 26 389 54: 27 Load 53 390 57: 6(float) CompositeExtract 54 0 0 391 58: 6(float) CompositeExtract 54 0 1 392 59: 6(float) CompositeExtract 54 0 2 393 60: 6(float) CompositeExtract 54 0 3 394 61: 6(float) CompositeExtract 54 1 0 395 62: 6(float) CompositeExtract 54 1 1 396 63: 6(float) CompositeExtract 54 1 2 397 64: 6(float) CompositeExtract 54 1 3 398 65: 6(float) CompositeExtract 54 2 0 399 66: 6(float) CompositeExtract 54 2 1 400 67: 6(float) CompositeExtract 54 2 2 401 68: 6(float) CompositeExtract 54 2 3 402 69: 7(fvec4) CompositeConstruct 57 58 59 60 403 70: 7(fvec4) CompositeConstruct 61 62 63 64 404 71: 7(fvec4) CompositeConstruct 65 66 67 68 405 72: 55 CompositeConstruct 69 70 71 406 74: 73(ptr) AccessChain 13(input) 39 407 75: 8(fvec3) Load 74 408 76: 7(fvec4) MatrixTimesVector 72 75 409 77: 6(float) CompositeExtract 76 0 410 78: 6(float) CompositeExtract 76 1 411 79: 6(float) CompositeExtract 76 2 412 80: 8(fvec3) CompositeConstruct 77 78 79 413 81: 73(ptr) AccessChain 21(output) 39 414 Store 81 80 415 82:11(PS_INPUT) Load 21(output) 416 ReturnValue 82 417 FunctionEnd 418