HLSL: Fix #942: Map SV_TargetN to SPV Location N.
This commit is contained in:
parent
4f54c0c487
commit
89f8d1e64f
9 changed files with 833 additions and 9 deletions
10
Test/hlsl.target.frag
Normal file
10
Test/hlsl.target.frag
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
struct PSInput {
|
||||
float interp;
|
||||
uint no_interp;
|
||||
};
|
||||
|
||||
void main(PSInput input : INPUT, out float4 out1 : SV_TARGET1, out float4 out2 : SV_TARGET3)
|
||||
{
|
||||
out1 = 1;
|
||||
out2 = 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue