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:
Steve Karolewics
2021-10-19 18:14:53 +01:00
committed by Baldur Karlsson
parent 0b5e8369d3
commit ec785ba167
16 changed files with 637 additions and 462 deletions
+2 -2
View File
@@ -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;
}