glsl: Don't split arrays in the condition of an assignment
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 15 Jan 2022 02:39:15 +0000 (18:39 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Feb 2022 17:25:33 +0000 (17:25 +0000)
commitd07551ad4e8f81d6eaca5a5f563ae4cd3409e20b
tree08b29255647fad191665d0a95c551bc9216cacb7
parent41f6b42b08ce656c7f4d1ac4736c36896c33f9fd
glsl: Don't split arrays in the condition of an assignment

At this point, this should always be NULL.

v2: Fix bad rebase.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14573>
src/compiler/glsl/opt_array_splitting.cpp