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
|
|
@ -18,7 +18,7 @@ local_size = (1, 1, 1)
|
|||
0:11 0.000000
|
||||
0:11 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out float)
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out float)
|
||||
|
||||
|
||||
Linked compute stage:
|
||||
|
|
@ -43,7 +43,7 @@ local_size = (1, 1, 1)
|
|||
0:11 0.000000
|
||||
0:11 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out float)
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out float)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue