i965/gen6+: Rename GEN6_CLIP_BARYCENTRIC_ENABLE.
authorPaul Berry <stereotype441@gmail.com>
Sat, 22 Oct 2011 16:33:12 +0000 (09:33 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 27 Oct 2011 22:32:08 +0000 (15:32 -0700)
The name was misleading.  The actual effect of the bit is to cause
the clipper to emit *non-perspective* barycentric coordinate
information (which is only needed when doing noperspective
interpolation).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_defines.h

index d302a61..746c89f 100644 (file)
@@ -1108,7 +1108,7 @@ enum brw_message_target {
 # define GEN6_CLIP_MODE_REJECT_ALL                     (3 << 13)
 # define GEN6_CLIP_MODE_ACCEPT_ALL                     (4 << 13)
 # define GEN6_CLIP_PERSPECTIVE_DIVIDE_DISABLE          (1 << 9)
-# define GEN6_CLIP_BARYCENTRIC_ENABLE                  (1 << 8)
+# define GEN6_CLIP_NON_PERSPECTIVE_BARYCENTRIC_ENABLE  (1 << 8)
 # define GEN6_CLIP_TRI_PROVOKE_SHIFT                   4
 # define GEN6_CLIP_LINE_PROVOKE_SHIFT                  2
 # define GEN6_CLIP_TRIFAN_PROVOKE_SHIFT                        0