Mesa (master): i965: Remove pointless keying of WM state on VUE size.

Eric Anholt anholt at kemper.freedesktop.org
Tue Feb 8 11:50:58 PST 2011


Module: Mesa
Branch: master
Commit: df8ca3e0ec7bb804d9a225ed8e888b7199b70567
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df8ca3e0ec7bb804d9a225ed8e888b7199b70567

Author: Eric Anholt <eric at anholt.net>
Date:   Sat Feb  5 11:59:21 2011 -0600

i965: Remove pointless keying of WM state on VUE size.

---

 src/mesa/drivers/dri/i965/brw_wm_state.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_wm_state.c b/src/mesa/drivers/dri/i965/brw_wm_state.c
index e9ef635..5b5afc4 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_state.c
@@ -47,7 +47,6 @@ struct brw_wm_unit_key {
    unsigned int dispatch_grf_start_reg;
 
    unsigned int curbe_offset;
-   unsigned int urb_size;
 
    unsigned int nr_surfaces, sampler_count;
    GLboolean uses_depth, computes_depth, uses_kill, is_glsl;
@@ -98,9 +97,6 @@ wm_unit_populate_key(struct brw_context *brw, struct brw_wm_unit_key *key)
    key->dispatch_grf_start_reg = brw->wm.prog_data->first_curbe_grf;
    key->total_scratch = brw->wm.prog_data->total_scratch;
 
-   /* BRW_NEW_URB_FENCE */
-   key->urb_size = brw->urb.vsize;
-
    /* BRW_NEW_CURBE_OFFSETS */
    key->curbe_offset = brw->curbe.wm_start;
 



More information about the mesa-commit mailing list