glsl: convert reusable lower_precision util code into helper functions
authorMarek Olšák <marek.olsak@amd.com>
Wed, 24 Jun 2020 07:20:59 +0000 (03:20 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jul 2020 02:02:06 +0000 (22:02 -0400)
commit161105d7321b0a749d6b3fcbff940bee46e10f18
tree6f672f03fb9300d1f6e1fca1de87865cb3b1d11e
parent8d62969cfe81db92cc6073003f231dcca845bf9d
glsl: convert reusable lower_precision util code into helper functions

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