Fetch compute thread dimensions after parsing disassembly

* This fixes an issue where the compute shader debugging wouldn't let
  even thread 0,0,0 be debugged as the dimensions bounds checks were
  wrong.
This commit is contained in:
baldurk committed 2015-10-13 17:42:56 +02:00
1 parent 036ab1d24f
commit 33347d2e3d
1 file changed
+2 -2
+2 -2
View File
@@ -926,12 +926,12 @@ ShaderReflection *MakeShaderReflection(DXBC::DXBCFile *dxbc)
}
}
ret->Disassembly = dxbc->GetDisassembly();
ret->DispatchThreadsDimension[0] = dxbc->DispatchThreadsDimension[0];
ret->DispatchThreadsDimension[1] = dxbc->DispatchThreadsDimension[1];
ret->DispatchThreadsDimension[2] = dxbc->DispatchThreadsDimension[2];
ret->Disassembly = dxbc->GetDisassembly();
ret->InputSig = dxbc->m_InputSig;
ret->OutputSig = dxbc->m_OutputSig;