From 0d9d10bc2687335c02b06bdd9443bc7b02913a51 Mon Sep 17 00:00:00 2001 From: "sudonim1@gmail.com" Date: Mon, 6 Aug 2012 17:49:15 +0000 Subject: [PATCH] GSDX: Temporary fix for another unorm precision issue. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5363 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/res/tfx.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/res/tfx.fx b/plugins/GSdx/res/tfx.fx index cdd9ec4c47..7d56b29866 100644 --- a/plugins/GSdx/res/tfx.fx +++ b/plugins/GSdx/res/tfx.fx @@ -506,7 +506,7 @@ void datst(PS_INPUT input) void atst(float4 c) { - float a = trunc(c.a * 255); + float a = trunc(c.a * 255 + 0.01); if(PS_ATST == 0) // never {