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_wm_sampler_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_wm_sampler_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c index 9fbabdc2852..1fc802cfa65 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c @@ -74,7 +74,7 @@ static drm_intel_bo *upload_default_color( struct brw_context *brw, COPY_4V(sdc.color, color); return brw_cache_data(&brw->cache, BRW_SAMPLER_DEFAULT_COLOR, - &sdc, sizeof(sdc), NULL, 0); + &sdc, sizeof(sdc)); } |