glsl: Don't split structures in the condition of an assignment
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 15 Jan 2022 02:51:19 +0000 (18:51 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Feb 2022 17:25:33 +0000 (17:25 +0000)
commit2652b9a83d70b2492674625136b70b714743b307
treef64c1e8d674994d3a018a408c92dddcc6d78205a
parentd07551ad4e8f81d6eaca5a5f563ae4cd3409e20b
glsl: Don't split structures 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_structure_splitting.cpp