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:
@@ -1554,7 +1554,7 @@ gl_FragCoord origin is upper left
|
||||
0:334 'inF0' (layout(location=0 ) in 4-component vector of float)
|
||||
0:337 Sequence
|
||||
0:337 move second child to first child (temp 4-component vector of float)
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 1.000000
|
||||
0:? 2.000000
|
||||
@@ -4335,7 +4335,7 @@ gl_FragCoord origin is upper left
|
||||
0:334 'inF0' (layout(location=0 ) in 4-component vector of float)
|
||||
0:337 Sequence
|
||||
0:337 move second child to first child (temp 4-component vector of float)
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 1.000000
|
||||
0:? 2.000000
|
||||
@@ -6091,6 +6091,7 @@ gl_FragCoord origin is upper left
|
||||
Decorate 837(inU0) Location 3
|
||||
Decorate 845(inF1) Location 1
|
||||
Decorate 854(inF2) Location 2
|
||||
Decorate 1060(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
||||
Reference in New Issue
Block a user