HLSL: Fix issue #646: map SV_DispatchThreadID -> GlobalInvocationID.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user