mesa: Refator _mesa_BindSampler to make _mesa_bind_sampler
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 10 Nov 2015 03:02:21 +0000 (19:02 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 11 Jan 2016 23:38:03 +0000 (15:38 -0800)
commitadb4b31bc33fda284319819877312f9e8631b657
tree78dd201091bad4e995760d04d665597960d102f1
parent4cf5c85ec70abb736e9c135e77c221b177d85d12
mesa: Refator _mesa_BindSampler to make _mesa_bind_sampler

Pulls the parts of _mesa_BindSampler that aren't just parameter
validation out into a function that can be called from other parts of
Mesa (e.g., meta).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/samplerobj.c
src/mesa/main/samplerobj.h