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:
John Kessenich
2016-09-16 01:44:43 -06:00
parent 7f702124ec
commit 7dc630f3da
93 changed files with 951 additions and 495 deletions

View File

@@ -44,6 +44,7 @@ Linked fragment stage:
Name 141 "r66"
Name 146 "@entryPointOutput"
Name 148 "input"
Decorate 146(@entryPointOutput) Location 0
Decorate 148(input) Location 0
2: TypeVoid
3: TypeFunction 2