glsl: don't inline intrinsics for mediump
authorRob Clark <robdclark@chromium.org>
Mon, 20 Jul 2020 17:36:13 +0000 (10:36 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 22:04:47 +0000 (22:04 +0000)
commit93076f60d3a177ff2ec9c4b5662ff0ba69e3d0ec
tree8c1ded7bec09e932674b86130aecaad5195d3148
parent48a6255186d65d39d56b6a0d46067f70a4fdc13d
glsl: don't inline intrinsics for mediump

They have an empty fxn body, trying to handle them results in the
intrinsic call being expanded into a no-op.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6073>
src/compiler/glsl/lower_precision.cpp