Tweak d3d12_workgroup_zoo : set both root constants for both dispatches

This commit is contained in:
Jake Turner
2025-09-25 15:36:10 +01:00
parent 8ecc23e78d
commit fa40e51e7d
@@ -425,6 +425,7 @@ void main(uint3 inTid : SV_DispatchThreadID)
for(int i = 0; i < numCompTests; i++)
{
cmd->SetComputeRoot32BitConstant(0, i, 0);
cmd->SetComputeRoot32BitConstant(0, i + 1, 1);
cmd->Dispatch(2, 1, 1);
}