diff options
author | Kenneth Graunke <[email protected]> | 2014-07-30 10:50:12 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-02 05:16:18 -0700 |
commit | 7cdb0a30faf1c96bacf5cec2d64bb64d7c8ef4a8 (patch) | |
tree | 1725c34e8e78cd9788c7b093d5574694fda1abca /src/mesa/drivers/dri/i965/brw_state.h | |
parent | b590a1237c7dccdd2a197298dbd62bf8fb1c6d33 (diff) |
i965: Add const to upload_default_color's sampler parameter.
It doesn't edit the value, and this lets us use const in more places.
Needed to implement Topi's review comments for the next patch.
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 0fda360e3c1..6b4092344d0 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -246,7 +246,7 @@ void gen8_init_vtable_surface_functions(struct brw_context *brw); uint32_t translate_wrap_mode(struct brw_context *brw, GLenum wrap, bool using_nearest); void upload_default_color(struct brw_context *brw, - struct gl_sampler_object *sampler, + const struct gl_sampler_object *sampler, int unit, uint32_t *sdc_offset); |