diff options
author | Paul Berry <[email protected]> | 2011-09-03 08:42:28 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-06 11:05:48 -0700 |
commit | becd54eedb26ec9076e6f5f98f485861b3e13a90 (patch) | |
tree | af14dd4ac139b634362fa186b91e78eb07ea5605 /src/mesa/drivers/dri/i965/brw_vs_emit.c | |
parent | f2b09257ba04a8f50c58e208ca8ab66cfa362298 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_emit.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index bf2ad8d5a83..4f7a4422d76 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -326,7 +326,7 @@ static void brw_vs_alloc_regs( struct brw_vs_compile *c ) /* Allocate outputs. The non-position outputs go straight into message regs. */ brw_compute_vue_map(&c->vue_map, intel, c->key.nr_userclip, - c->key.two_side_color, c->prog_data.outputs_written); + c->prog_data.outputs_written); c->first_output = reg; first_reladdr_output = get_first_reladdr_output(&c->vp->program); |