summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_context.h
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.h
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.h')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.h b/src/mesa/drivers/dri/unichrome/via_context.h
index 4562c9e656..ae3b41506d 100644
--- a/src/mesa/drivers/dri/unichrome/via_context.h
+++ b/src/mesa/drivers/dri/unichrome/via_context.h
@@ -66,6 +66,7 @@ enum VIACHIPTAGS {
#define VIA_FALLBACK_USER_DISABLE 0x800
#define VIA_FALLBACK_PROJ_TEXTURE 0x1000
#define VIA_FALLBACK_STIPPLE 0x2000
+#define VIA_FALLBACK_ALPHATEST 0x4000
#define VIA_DMA_BUFSIZ 4096
#define VIA_DMA_HIGHWATER (VIA_DMA_BUFSIZ - 128)
@@ -284,6 +285,8 @@ struct via_context_t {
GLuint nDoneFirstFlip;
GLuint agpFullCount;
+ GLboolean strictConformance;
+
/* Configuration cache
*/
driOptionCache optionCache;