glsl: don't create conversion opcodes for array types
authorMarek Olšák <marek.olsak@amd.com>
Thu, 23 Jul 2020 22:41:28 +0000 (18:41 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 22:04:47 +0000 (22:04 +0000)
commit01e008563753671c9076867c355d723932bc1b27
treeeb9d065d8fdfcc111b7b1283618aa338f31c6dc8
parent5020403c703c5fea571b1989fd3a004dbe76e74c
glsl: don't create conversion opcodes for array types

Instead, convert all elements one by one.
This fixes piglit shaders@glsl-bug-110796.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6073>
src/compiler/glsl/lower_precision.cpp