softpipe: Move the faces array from view to filter_args
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Fri, 11 Sep 2015 18:07:36 +0000 (20:07 +0200)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Sep 2015 21:36:23 +0000 (15:36 -0600)
commit4ca2896e8ea1908ea5a0d5bffe8a1b42145a6f72
treeac0d943fd6b2eeae165e4c0f29def71e935be443
parentca11c3c0a4726d4f51436d714ef81ef9a01348ea
softpipe: Move the faces array from view to filter_args

With that, sp_sampler_view instances are not abused anymore as a local
storage, so we can later make them constant.

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