HLSL: Start location numbering with the entry-point return value.

Also, increment location numbers by the size of the objects.
This commit is contained in:
John Kessenich
2016-08-29 18:10:47 -06:00
parent a05d8b5604
commit 830b0cc98b
89 changed files with 2517 additions and 2157 deletions

View File

@@ -241,7 +241,7 @@ gl_FragCoord origin is upper left
0:? 12.000000
0:45 Sequence
0:45 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:? '@entryPointOutput' (layout(location=0 ) out float)
0:45 Constant:
0:45 0.000000
0:45 Branch: Return
@@ -493,7 +493,7 @@ gl_FragCoord origin is upper left
0:? 12.000000
0:45 Sequence
0:45 move second child to first child (temp float)
0:? '@entryPointOutput' (out float)
0:? '@entryPointOutput' (layout(location=0 ) out float)
0:45 Constant:
0:45 0.000000
0:45 Branch: Return
@@ -539,6 +539,7 @@ gl_FragCoord origin is upper left
Name 136 "r65"
Name 141 "r66"
Name 145 "@entryPointOutput"
Decorate 145(@entryPointOutput) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32