glsl: lower builtins to mediump that always return mediump or lowp
authorMarek Olšák <marek.olsak@amd.com>
Wed, 1 Jul 2020 18:09:32 +0000 (14:09 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jul 2020 02:02:06 +0000 (22:02 -0400)
commit38cadd8b462861e9dac9af8daedf8f268fad920d
tree9988f65acefd36275960eeb984117a604f1e4095
parent8fcf8e7fd401346ff32f0179ab96ee6b7739e0bb
glsl: lower builtins to mediump that always return mediump or lowp

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