softpipe: Constify sampler and view parameters in mip filters
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Fri, 11 Sep 2015 18:07:40 +0000 (20:07 +0200)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Sep 2015 21:36:47 +0000 (15:36 -0600)
commitac23116de56e163a3815626277f9c3691bb56831
tree264f453009d754e8f71b1e8b3b26a55fd8f02f96
parentea764baa61bec5b4ae15cf0d5928e3643061807d
softpipe: Constify sampler and view parameters in mip filters

Those functions actually could always take them as constants.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_tex_sample.h