mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Fix debugging function calls without return values
This commit is contained in:
@@ -929,12 +929,12 @@ void ThreadState::StepNext(ShaderDebugState *state,
|
||||
}
|
||||
else
|
||||
{
|
||||
returnValue.name = "<return value>";
|
||||
if(opdata.op == Op::ReturnValue)
|
||||
{
|
||||
OpReturnValue ret(it);
|
||||
|
||||
returnValue = GetSrc(ret.value);
|
||||
returnValue.name = "<return value>";
|
||||
}
|
||||
|
||||
nextInstruction = exitingFrame->funcCallInstruction;
|
||||
|
||||
Reference in New Issue
Block a user