HLSL: Flatten a return struct from an entry point and assign locations after flattening.
Locations now get assigned in order, but skipping built-ins, which can be done post flattening.
This commit is contained in:
parent
7f702124ec
commit
7dc630f3da
93 changed files with 951 additions and 495 deletions
|
|
@ -29,7 +29,7 @@ gl_FragCoord origin is upper left
|
|||
0:8 'a4' (layout(location=3 ) in int)
|
||||
0:8 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out int)
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out int)
|
||||
0:? 'a1' (layout(location=0 ) in int)
|
||||
0:? 'a2' (layout(location=1 ) in int)
|
||||
0:? 'a3' (layout(location=2 ) in int)
|
||||
|
|
@ -69,7 +69,7 @@ gl_FragCoord origin is upper left
|
|||
0:8 'a4' (layout(location=3 ) in int)
|
||||
0:8 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out int)
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out int)
|
||||
0:? 'a1' (layout(location=0 ) in int)
|
||||
0:? 'a2' (layout(location=1 ) in int)
|
||||
0:? 'a3' (layout(location=2 ) in int)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue