diff options
author | Eric Anholt <[email protected]> | 2010-06-09 17:19:40 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-06-11 00:16:15 -0700 |
commit | 8ad3fdc9678866b40f3d9faaaf7c6333d388907f (patch) | |
tree | 2c427adf58852b6bf7648dcc7489b34582b1a0df /src/mesa/drivers/dri/i965/brw_sf_state.c | |
parent | 309c011641c6189dc74bc2f78ba6d6602d8c96b7 (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.c | 3 |
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 = { |