summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-02-25 14:05:27 -0800
committerEric Anholt <[email protected]>2010-02-25 18:36:44 -0800
commitdedfc0e6e606594b9b1772c6b0689f7fa547c3aa (patch)
tree1c684a9b5faf39e4dd489de0dc64fa88c6e2a7e1 /src/mesa
parent17ddb7c7e897719fa28fb64ac3ecbc7b7e9f8d24 (diff)
i965: Fix the SNB clip near VP API bit.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_defines.h3
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 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)