mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 09:50:06 +00:00
Fix debugging function calls without return values
This commit is contained in:
1 file changed
+1
-1
@@ -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