mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-28 16:45:38 +00:00
Add ability to debug compute shaders by dispatch thread ID
In some cases it is easier to know the dispatch thread ID you want to debug rather than the group/thread IDs. This change adds a new window when the debug button is clicked, to allow you to specify which thread to debug in the most convenient way.
This commit is contained in:
committed by
Baldur Karlsson
parent
0b5e8369d3
commit
ec785ba167
@@ -3010,13 +3010,13 @@ ShaderDebugTrace *D3D12Replay::DebugThread(uint32_t eventId,
|
||||
|
||||
if(!dxbc)
|
||||
{
|
||||
RDCERR("Pixel shader couldn't be reflected");
|
||||
RDCERR("Compute shader couldn't be reflected");
|
||||
return new ShaderDebugTrace;
|
||||
}
|
||||
|
||||
if(!refl.debugInfo.debuggable)
|
||||
{
|
||||
RDCERR("Pixel shader is not debuggable");
|
||||
RDCERR("Compute shader is not debuggable");
|
||||
return new ShaderDebugTrace;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user