mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Fix missing else if causing false assert about unhandled OpCode
This commit is contained in:
1 parent
88f817f77d
commit
f2de54c148
1 file changed
+1
-1
@@ -4938,7 +4938,7 @@ bool ThreadState::ExecuteInstruction(DebugAPIWrapper *apiWrapper,
|
||||
#define _IMPL(I, S, U) comp<U>(result, c) = (U)x;
|
||||
IMPL_FOR_INT_TYPES_FOR_TYPE(_IMPL, result.type);
|
||||
}
|
||||
if(opCode == Operation::ZExt)
|
||||
else if(opCode == Operation::ZExt)
|
||||
{
|
||||
// Result bit_width >= Value bit_width
|
||||
RDCASSERT(retType->bitWidth >= srcBitWidth);
|
||||
|
||||
Reference in new issue
Block a user