From becd54eedb26ec9076e6f5f98f485861b3e13a90 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Sat, 3 Sep 2011 08:42:28 -0700 Subject: 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 --- src/mesa/drivers/dri/i965/brw_gs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_gs.h') diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h index b369e7db4f6..d8637c8bb25 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 { -- cgit v1.2.3