Mesa (master): i965: Fix the SNB clip near VP API bit.

Eric Anholt anholt at kemper.freedesktop.org
Fri Feb 26 02:43:44 UTC 2010


Module: Mesa
Branch: master
Commit: dedfc0e6e606594b9b1772c6b0689f7fa547c3aa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dedfc0e6e606594b9b1772c6b0689f7fa547c3aa

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Feb 25 14:05:27 2010 -0800

i965: Fix the SNB clip near VP API bit.

---

 src/mesa/drivers/dri/i965/brw_defines.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
index 2bb3448..76ae17c 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)




More information about the mesa-commit mailing list