summaryrefslogtreecommitdiff
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2010-12-07 10:35:36 -0800
committerChad Versace <chad.versace@intel.com>2010-12-08 18:53:53 -0800
commitf0f2ec4d8a50c79c2943ac95eb790fb734d88980 (patch)
tree710d2715a3e241303ec9740446e6d9466dc8dc1d /src/mesa/main/api_exec.c
parentd547ab150ae8db64caebbae2b2414a3988b2f089 (diff)
glsl: In ast_to_hir, check sampler array indexing
Raise error if a sampler array is indexed with a non-constant expression. From section 4.1.7 of the GLSL 1.30 spec: "Samplers aggregated into arrays within a shader (using square brackets [ ]) can only be indexed with integral constant expressions [...]."
Diffstat (limited to 'src/mesa/main/api_exec.c')
0 files changed, 0 insertions, 0 deletions