diff options
author | Chris Forbes <[email protected]> | 2014-08-03 19:55:55 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-08-12 19:18:55 +1200 |
commit | 3b48f6a4c06db57a7203d247994b05e55c9418c1 (patch) | |
tree | 9c5d16428a523b05f27d02407352aba48965cc99 /src/loader | |
parent | 1b4761bc27a50208dba2bc028c9835fed572e696 (diff) |
mesa: Add a new function for getting the nonconst sampler array index
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]>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions