aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_sf_state.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-06-09 17:19:40 -0700
committerEric Anholt <[email protected]>2010-06-11 00:16:15 -0700
commit8ad3fdc9678866b40f3d9faaaf7c6333d388907f (patch)
tree2c427adf58852b6bf7648dcc7489b34582b1a0df /src/mesa/drivers/dri/i965/brw_sf_state.c
parent309c011641c6189dc74bc2f78ba6d6602d8c96b7 (diff)
i965: GC the last two arguments to brw_cache_data.
Now that the binding table is streamed indirect state, they were always NULL/0.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_sf_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf_state.c b/src/mesa/drivers/dri/i965/brw_sf_state.c
index a95acb4cf82..e290ca92f60 100644
--- a/src/mesa/drivers/dri/i965/brw_sf_state.c
+++ b/src/mesa/drivers/dri/i965/brw_sf_state.c
@@ -105,8 +105,7 @@ static void upload_sf_vp(struct brw_context *brw)
}
drm_intel_bo_unreference(brw->sf.vp_bo);
- brw->sf.vp_bo = brw_cache_data(&brw->cache, BRW_SF_VP, &sfv, sizeof(sfv),
- NULL, 0);
+ brw->sf.vp_bo = brw_cache_data(&brw->cache, BRW_SF_VP, &sfv, sizeof(sfv));
}
const struct brw_tracked_state brw_sf_vp = {