OSDN Git Service

meta: Only bind the sampler in one place
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 10 Nov 2015 23:16:33 +0000 (15:16 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 11 Jan 2016 23:38:04 +0000 (15:38 -0800)
commit1799eddb510bef502901c097ddce9e40d58ff09d
tree74dc3d0ca5b4faa98ea49be671d2a62b6aab8b59
parentae50157363e828a50b249743d3f0b83322a3bc3a
meta: Only bind the sampler in one place

All of the calls after the first _mesa_bind_sampler call are DSA style
calls that don't depend on the current binding.

I kept this change separate and last because it is one of the few in the
series that is not a candidate for the stable branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta_generate_mipmap.c