summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-01-11 15:40:06 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-01-11 15:40:06 +0000
commitb13eaf269895df3b688e2c014c9fdfb93de48462 (patch)
tree44ea670932522e23674755a19a0310c26c8b3695 /src/mesa/drivers/dri/unichrome/via_context.c
parent51365b2d0daf0e340074f07b2362896ae9c60a9e (diff)
Add a big nasty fallback for AlphaTest -- seems to always be wrong
on CLE266 because Z values are written even for fragments which fail the test.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_context.c')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c
index ee7f7a079a..e070b275a9 100644
--- a/src/mesa/drivers/dri/unichrome/via_context.c
+++ b/src/mesa/drivers/dri/unichrome/via_context.c
@@ -504,7 +504,8 @@ viaCreateContext(const __GLcontextModes *mesaVis,
if (getenv("VIA_NO_RAST"))
FALLBACK(vmesa, VIA_FALLBACK_USER_DISABLE, 1);
-
+ if (getenv("VIA_CONFORM"))
+ vmesa->strictConformance = 1;
/* I don't understand why this isn't working:
*/