HLSL: Fix issue #646: map SV_DispatchThreadID -> GlobalInvocationID.

This commit is contained in:
John Kessenich
2017-01-02 14:59:19 -07:00
parent aa6d56298d
commit f37f4d23fc
5 changed files with 43 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
groupshared float4 a[100];
void main(int dti : SV_DispatchThreadID)
void main(int dti : SV_DispatchThreadID, int gti : SV_GroupThreadID)
{
dti;
dti - gti;
}