glsl: add capability to lower mediump array types
authorMarek Olšák <marek.olsak@amd.com>
Wed, 1 Jul 2020 20:49:04 +0000 (16:49 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jul 2020 02:02:06 +0000 (22:02 -0400)
commit63ab8d41d1aca0816d3c46715526c26f40d83504
tree08a8768da27f53e23e69fc48c6dd2d4b6e58717c
parent38cadd8b462861e9dac9af8daedf8f268fad920d
glsl: add capability to lower mediump array types

This is not needed for lowering expressions, because they always work with
basic types, but it will be needed for lowering variables.

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