HLSL: Support SV_Coverage and SV_DispatchThreadId; catch SV_GroupIndex.

This commit is contained in:
John Kessenich
2016-10-16 12:12:11 -06:00
parent 4a3467933e
commit b50fd17acb
7 changed files with 88 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ void MyFunc(in float x, out float y, inout float z)
x = -1; // no effect since x = in param
}
PS_OUTPUT main(noperspective in float4 inpos : SV_Position)
PS_OUTPUT main(noperspective in float4 inpos : SV_Position, out int sampleMask : SV_Coverage)
{
PS_OUTPUT psout;