mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed code generation for ternary operator with vector result types
https://forum.zdoom.org/viewtopic.php?t=64831
This commit is contained in:
parent
677b24b108
commit
d336a83355
1 changed files with 1 additions and 1 deletions
|
@ -4835,7 +4835,7 @@ ExpEmit FxConditional::Emit(VMFunctionBuilder *build)
|
||||||
// If this is a local variable we need another register for the result.
|
// If this is a local variable we need another register for the result.
|
||||||
if (trueop.Fixed)
|
if (trueop.Fixed)
|
||||||
{
|
{
|
||||||
out = ExpEmit(build, trueop.RegType);
|
out = ExpEmit(build, trueop.RegType, trueop.RegCount);
|
||||||
build->Emit(truex->ValueType->GetMoveOp(), out.RegNum, trueop.RegNum, 0);
|
build->Emit(truex->ValueType->GetMoveOp(), out.RegNum, trueop.RegNum, 0);
|
||||||
}
|
}
|
||||||
else out = trueop;
|
else out = trueop;
|
||||||
|
|
Loading…
Reference in a new issue