diff options
author | Paul Berry <[email protected]> | 2011-09-03 08:23:27 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-06 11:05:44 -0700 |
commit | f2b09257ba04a8f50c58e208ca8ab66cfa362298 (patch) | |
tree | 300309474d9c03e2962478c84a925d5994e21122 /src/getopt | |
parent | 18dcda2dcff0ba49cf35656bb8936e3edd61c90d (diff) |
i965: For GEN6+, always make front/back colors adjacent in VUE.
When doing two-sided color on GEN6+, we use the SF unit's
INPUTATTR_FACING mode to cause front colors to be used on front-facing
triangles, and back colors to be used on back-facing triangles. This
mode requires that the front and back colors be adjacent in the VUE.
Previously, we would only place front and back colors adjacent in the
VUE when two-sided color was enabled. Now we place them adjacent in
the VUE whether two-sided color is enabled or not. (We still only
swizzle the colors when two-sided color is enabled, so there should be
no user-visible change).
This simplifies the implementation of the VUE map and reduces the
amount of code that is dependent on two-sided color mode.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions