mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
i965/gen6+: Rename GEN6_CLIP_BARYCENTRIC_ENABLE.
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>
This commit is contained in:
parent
f8386a29f0
commit
4d563ec1cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue