PixelShaderGen: Treat UV coordinates like S17.7 integers (they're still stored as float, though).

This commit is contained in:
Tony Wasserka
2013-11-02 11:42:30 +01:00
parent 3e6efdb53e
commit 3a6389992e
2 changed files with 17 additions and 12 deletions

View File

@ -528,9 +528,9 @@ void Tev::Indirect(unsigned int stageNum, s32 s, s32 t)
return;
}
s64 indtevtrans[2] = { 0,0 };
s32 indtevtrans[2] = { 0,0 };
// matrix multiply
// matrix multiply - results might overflow, but we don't care since we only use the lower 24 bits of the result.
int indmtxid = indirect.mid & 3;
if (indmtxid)
{