glsl: don't limit fp16 lowering to frag
authorRob Clark <robdclark@chromium.org>
Thu, 2 Apr 2020 21:08:54 +0000 (14:08 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 4 Apr 2020 00:07:10 +0000 (00:07 +0000)
commit0b06adb75054842294e4dbbe2e5af294470862fb
tree12357f0c7040f062bbc97ae149f2d3c957128ead
parentf054230ea3cb17409233660efd562be28d914127
glsl: don't limit fp16 lowering to frag

This restriction doesn't belong in core code.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4423>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4423>
src/compiler/glsl/glsl_parser_extras.cpp