softpipe: Constify sampler and view parameters in img filters
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Fri, 11 Sep 2015 18:07:39 +0000 (20:07 +0200)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Sep 2015 21:36:43 +0000 (15:36 -0600)
commitea764baa61bec5b4ae15cf0d5928e3643061807d
treeb406f6325a072d4bf59234a5e8400c4ba02ed8ff
parentba72e6cfb8248ae0d8b3cf5ebf9add7c49f45743
softpipe: Constify sampler and view parameters in img 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