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:
@@ -45,7 +45,7 @@ ERROR: node is still EOpNull!
|
||||
0:20 1.000000
|
||||
0:22 Sequence
|
||||
0:22 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:22 Branch: Return
|
||||
0:? Linker Objects
|
||||
@@ -98,7 +98,7 @@ ERROR: node is still EOpNull!
|
||||
0:20 1.000000
|
||||
0:22 Sequence
|
||||
0:22 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:22 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:22 Branch: Return
|
||||
0:? Linker Objects
|
||||
|
||||
Reference in New Issue
Block a user