From ef3b5d721735d4aecf26a35df3203179039ba217 Mon Sep 17 00:00:00 2001 From: Anthony Miles Date: Sun, 1 Dec 2019 12:30:06 +1300 Subject: [PATCH] Fix bias typo --- src/core/hle/D3D8/Direct3D9/Xb.hlsl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/hle/D3D8/Direct3D9/Xb.hlsl b/src/core/hle/D3D8/Direct3D9/Xb.hlsl index f12947ef1..c5d69ff2f 100644 --- a/src/core/hle/D3D8/Direct3D9/Xb.hlsl +++ b/src/core/hle/D3D8/Direct3D9/Xb.hlsl @@ -33,8 +33,7 @@ int toXboxIndex(float src0) { // some titles produce values just below the threshold of the next integer. // We can add a small bias to make sure it's bumped over the threshold // Test Case: Azurik (divides indexes 755, then scales them back in the vertex shader) - return floor(src0) + 0.00000001; // TODO test -} + return floor(src0 + 0.0001); // TODO test float x_dph(float4 src0, float4 src1) { return dot(src0, src1) + src1.w;