From: Eric Anholt Date: Sat, 5 Feb 2011 17:59:21 +0000 (-0600) Subject: i965: Remove pointless keying of WM state on VUE size. X-Git-Tag: mesa-7.11-rc1~2231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df8ca3e0ec7bb804d9a225ed8e888b7199b70567;p=platform%2Fupstream%2Fmesa.git i965: Remove pointless keying of WM state on VUE size. --- 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;