summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_gs.h
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2011-09-03 08:42:28 -0700
committerPaul Berry <stereotype441@gmail.com>2011-09-06 11:05:48 -0700
commitbecd54eedb26ec9076e6f5f98f485861b3e13a90 (patch)
treeaf14dd4ac139b634362fa186b91e78eb07ea5605 /src/mesa/drivers/dri/i965/brw_gs.h
parentf2b09257ba04a8f50c58e208ca8ab66cfa362298 (diff)
downloadexternal_mesa3d-becd54eedb26ec9076e6f5f98f485861b3e13a90.zip
external_mesa3d-becd54eedb26ec9076e6f5f98f485861b3e13a90.tar.gz
external_mesa3d-becd54eedb26ec9076e6f5f98f485861b3e13a90.tar.bz2
i965: Remove two_side_color from brw_compute_vue_map().
Since we now lay out the VUE the same way regardless of whether two-sided color is enabled, brw_compute_vue_map() no longer needs to know whether two-sided color is enabled. This allows the two-sided color flag to be removed from the clip, GS, and VS keys, so that fewer GPU programs need to be recompiled when turning two-sided color on and off. Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_gs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h
index b369e7d..d8637c8 100644
--- a/src/mesa/drivers/dri/i965/brw_gs.h
+++ b/src/mesa/drivers/dri/i965/brw_gs.h
@@ -45,8 +45,7 @@ struct brw_gs_prog_key {
GLuint pv_first:1;
GLuint need_gs_prog:1;
GLuint nr_userclip:4;
- GLuint do_twoside_color:1;
- GLuint pad:21;
+ GLuint pad:22;
};
struct brw_gs_compile {