From dedfc0e6e606594b9b1772c6b0689f7fa547c3aa Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 25 Feb 2010 14:05:27 -0800 Subject: [PATCH] i965: Fix the SNB clip near VP API bit. --- src/mesa/drivers/dri/i965/brw_defines.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index 2bb3448da7c..76ae17c96a4 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -879,7 +879,8 @@ # define GEN6_CLIP_STATISTICS_ENABLE (1 << 10) /* DW2 */ # define GEN6_CLIP_ENABLE (1 << 31) -# define GEN6_CLIP_API_OGL (1 << 30) +# define GEN6_CLIP_API_OGL (0 << 30) +# define GEN6_CLIP_API_D3D (1 << 30) # define GEN6_CLIP_XY_TEST (1 << 28) # define GEN6_CLIP_Z_TEST (1 << 27) # define GEN6_CLIP_GB_TEST (1 << 26) -- 2.30.2