HLSL: Fix #942: Map SV_TargetN to SPV Location N.

This commit is contained in:
John Kessenich
2017-06-27 15:17:38 -06:00
parent 4f54c0c487
commit 89f8d1e64f
9 changed files with 833 additions and 9 deletions

10
Test/hlsl.target.frag Normal file
View 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;
}