mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Refactor PS Input fetcher patch to be less pixel-specific
* We also (for now) preserve the existing entry point to keep codegen as similar as possible.
This commit is contained in:
@@ -1495,8 +1495,13 @@ ShaderDebugTrace *Debugger::BeginDebug(DebugAPIWrapper *api, const ShaderStage s
|
||||
lane.outputs = active.outputs;
|
||||
lane.privates = active.privates;
|
||||
lane.ids = active.ids;
|
||||
// mark as inactive/helper lane
|
||||
lane.helperInvocation = true;
|
||||
}
|
||||
|
||||
if(stage == ShaderStage::Pixel)
|
||||
{
|
||||
ShaderVariable var(rdcstr(), 0U, 0U, 0U, 0U);
|
||||
apiWrapper->FillInputValue(var, ShaderBuiltin::IsHelper, i, 0, 0);
|
||||
lane.helperInvocation = var.value.u32v[0] != 0;
|
||||
}
|
||||
|
||||
// now that the globals are allocated and their storage won't move, we can take pointers to them
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user