HLSL: Support SV_Coverage and SV_DispatchThreadId; catch SV_GroupIndex.
This commit is contained in:
parent
4a3467933e
commit
b50fd17acb
7 changed files with 88 additions and 9 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue