glsl: don't lower builtins to mediump that don't allow it
authorMarek Olšák <marek.olsak@amd.com>
Wed, 1 Jul 2020 00:24:44 +0000 (20:24 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jul 2020 02:02:06 +0000 (22:02 -0400)
commit3781697c23f5e75ab7a18cdec7140c779bb56ce7
tree4d443c8dc884e1b188633c22b21d209613b9a081
parent69f7a3dac69bc91464e5cba3ebf859777fa5f742
glsl: don't lower builtins to mediump that don't allow it

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5746>
src/compiler/glsl/ir_validate.cpp
src/compiler/glsl/lower_precision.cpp
src/compiler/glsl/tests/lower_precision_test.py
src/compiler/glsl_types.h