i965: Add const to upload_default_color's sampler parameter.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Jul 2014 17:50:12 +0000 (10:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Aug 2014 12:16:18 +0000 (05:16 -0700)
commit7cdb0a30faf1c96bacf5cec2d64bb64d7c8ef4a8
tree1725c34e8e78cd9788c7b093d5574694fda1abca
parentb590a1237c7dccdd2a197298dbd62bf8fb1c6d33
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>
src/mesa/drivers/dri/i965/brw_sampler_state.c
src/mesa/drivers/dri/i965/brw_state.h