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;