softpipe: Constify some sampler and view parameters
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Fri, 11 Sep 2015 18:07:37 +0000 (20:07 +0200)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Sep 2015 21:36:32 +0000 (15:36 -0600)
commitea0fecd1a3f46439c602e04870b34e6f27ad5b2e
tree40784dac2d067378f771765286506a7c6f6efd12
parent4ca2896e8ea1908ea5a0d5bffe8a1b42145a6f72
softpipe: Constify some sampler and view parameters

This is to prepare for making tgsi_sampler parameter in query_lod a
const too. These functions do not modify anything in either sampler or
view anymore.

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