mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Change DebugPixel() to take a DebugShaderInputs struct
DebugShaderInputs struct contains existing the parameters: sample primitive and a new parameter view Default constructor for DebugShaderInputs sets the parameters to NoPreference (~0U).
This commit is contained in:
@@ -767,8 +767,10 @@ void PixelHistoryView::startDebug(EventTag tag)
|
||||
ShaderDebugTrace *trace = NULL;
|
||||
|
||||
m_Ctx.Replay().AsyncInvoke([this, &trace, &done, tag](IReplayController *r) {
|
||||
trace = r->DebugPixel((uint32_t)m_Pixel.x(), (uint32_t)m_Pixel.y(),
|
||||
m_Display.subresource.sample, tag.primitive);
|
||||
DebugPixelInputs inputs;
|
||||
inputs.sample = m_Display.subresource.sample;
|
||||
inputs.primitive = tag.primitive;
|
||||
trace = r->DebugPixel((uint32_t)m_Pixel.x(), (uint32_t)m_Pixel.y(), inputs);
|
||||
|
||||
if(trace->debugger == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user