mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
riscv: Fix signed position bug in vertexjit.
This commit is contained in:
parent
5cbad1982b
commit
b041e712de
@ -867,8 +867,8 @@ void VertexDecoderJitCache::Jit_PosS16Through() {
|
||||
LH(tempReg2, srcReg, dec_->posoff + 2);
|
||||
// This one, Z, has to be unsigned.
|
||||
LHU(tempReg3, srcReg, dec_->posoff + 4);
|
||||
FCVT(FConv::S, FConv::WU, fpSrc[0], tempReg1, Round::TOZERO);
|
||||
FCVT(FConv::S, FConv::WU, fpSrc[1], tempReg2, Round::TOZERO);
|
||||
FCVT(FConv::S, FConv::W, fpSrc[0], tempReg1, Round::TOZERO);
|
||||
FCVT(FConv::S, FConv::W, fpSrc[1], tempReg2, Round::TOZERO);
|
||||
FCVT(FConv::S, FConv::WU, fpSrc[2], tempReg3, Round::TOZERO);
|
||||
FS(32, fpSrc[0], dstReg, dec_->decFmt.posoff + 0);
|
||||
FS(32, fpSrc[1], dstReg, dec_->decFmt.posoff + 4);
|
||||
|
Loading…
Reference in New Issue
Block a user