diff options
author | Tapani Pälli <[email protected]> | 2015-05-19 15:01:49 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-06-30 11:12:44 +0300 |
commit | 9350ea6979c48772e1fb55d4f1c7c5a3cfa987b0 (patch) | |
tree | 1d22f39863a12ddd850c745df66bf775ad674438 /common.py | |
parent | f17c8c287f3581fccb52714fbd4b2ea09a58e3d3 (diff) |
glsl: validate sampler array indexing for 'constant-index-expression'
Desktop GLSL < 130 and GLSL ES < 300 allow sampler array indexing where
index can contain a loop induction variable. This extra check will warn
during linking if some of the indexes could not be turned in to constant
expressions.
v2: warning instead of error for backends that did not enable
EmitNoIndirectSampler option (have dynamic indexing)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Cc: "10.5" and "10.6" <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions