nir/lower_alu_to_scalar: don't skip gaps in write_mask
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 22 Jul 2021 08:25:52 +0000 (10:25 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 26 Jul 2021 09:24:37 +0000 (09:24 +0000)
commitece99eb69f2f7b4556a63034cc379c77c8697dd1
treeb8bea6eb16ccf109ebc3c74eba8e7683a84b80e6
parent4eb0475b5a0047e368129550e4c07a450a233a74
nir/lower_alu_to_scalar: don't skip gaps in write_mask

Otherwise, this may lead to segmentation faults.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11411>
src/compiler/nir/nir_lower_alu_to_scalar.c