mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
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:
1 parent
036ab1d24f
commit
33347d2e3d
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user