mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 00:16:45 +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:
@@ -4099,7 +4099,9 @@ void TextureViewer::on_debugPixelContext_clicked()
|
||||
ShaderDebugTrace *trace = NULL;
|
||||
|
||||
m_Ctx.Replay().AsyncInvoke([this, &trace, &done, x, y](IReplayController *r) {
|
||||
trace = r->DebugPixel((uint32_t)x, (uint32_t)y, m_TexDisplay.subresource.sample, ~0U);
|
||||
DebugPixelInputs inputs;
|
||||
inputs.sample = m_TexDisplay.subresource.sample;
|
||||
trace = r->DebugPixel((uint32_t)x, (uint32_t)y, inputs);
|
||||
|
||||
if(trace->debugger == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user