summaryrefslogtreecommitdiff
path: root/src/mesa/main/samplerobj.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-02-24 14:46:08 +0100
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-02-27 19:42:00 +0100
commite69fd0b43cbbfa814a6af8268c5edec64387520a (patch)
treeda10c8fe0b3ad53f81f93ce5a81f335e67e36089 /src/mesa/main/samplerobj.c
parent08a052966fff77b1d3c04f0b75fb1199988ba1fd (diff)
glsl: reject samplers not declared as uniform/function params earlier
This improves consistency with image variables and atomic counters which are already rejected the same way. Note that opaque variables can't be treated as l-values, which means only the 'in' function parameter is allowed. v2: rewrite commit message Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> (v1) Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v2)
Diffstat (limited to 'src/mesa/main/samplerobj.c')
0 files changed, 0 insertions, 0 deletions