mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 05:00:09 +01:00
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 <kenneth@whitecape.org>
This commit is contained in:
parent
b590a1237c
commit
7cdb0a30fa
2 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ 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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue