summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/sampler.h
Commit message (Collapse)AuthorAgeFilesLines
* program: add #ifndef SAMPLER_H wrapperBrian Paul2014-12-161-0/+7
| | | | | Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
* mesa: Add a new function for getting the nonconst sampler array indexChris Forbes2014-08-121-0/+3
| | | | | | | | | | | | | If the array index is not a constant expression, the existing support will assume a zero offset (giving us the sampler index of the base of the array). For dynamically uniform indexing of sampler arrays, we need both that and the indexing expression. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
* mesa: Pull ir_to_mesa's sampler number fetcher out to shared code.Eric Anholt2010-09-281-0/+29