glsl: catch out of bounds access in the debug version
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Fri, 24 Jul 2020 15:59:36 +0000 (17:59 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Jul 2020 10:41:00 +0000 (10:41 +0000)
commit59bb0ff945f5dfd71647f5b5090fc0a048338158
tree04be70783f8c979091a7c98c7ecd786381b8bb38
parenteac0ba7fc193cceccd953bc4726ceef750b18085
glsl: catch out of bounds access in the debug version

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6067>
src/compiler/glsl/lower_precision.cpp