This commit is contained in:
Michael 2018-07-02 14:49:03 -07:00
commit e282b15a5d
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ R1f.y = backupReg1f;
R1f.y *= 2.0;
R1f.z = 0.0;
R1f.w = 1.0;
PS0f = intBitsToFloat(uf_remappedVS[0].x/resXScale) * intBitsToFloat(0x3f99999a);
PS0f = intBitsToFloat(uf_remappedVS[0].x)/resXScale * intBitsToFloat(0x3f99999a);
// 1
backupReg0f = R2f.x;
backupReg0f = R2f.x;

View File

@ -72,11 +72,11 @@ R1f.y = backupReg1f;
R1f.y *= 2.0;
R1f.z = 0.0;
R1f.w = 1.0;
PS0f = intBitsToFloat(uf_remappedVS[0].x/resXScale) + R2f.x;
PS0f = intBitsToFloat(uf_remappedVS[0].x)/resXScale + R2f.x;
// 1
R0f.x = PS0f;
R0f.y = R2f.y;
PV1f.z = -(intBitsToFloat(uf_remappedVS[0].x/resXScale)) + R2f.x;
PV1f.z = -(intBitsToFloat(uf_remappedVS[0].x))/resXScale + R2f.x;
R3f.w = R2f.y;
R4f.x = R2f.x;
PS1f = R4f.x;