panfrost: Ensure final.no_colour is initialized.
authorVinson Lee <vlee@freedesktop.org>
Sat, 23 May 2020 01:34:34 +0000 (18:34 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 23 May 2020 21:00:52 +0000 (21:00 +0000)
commit4174a13459da6086963b4b43b4e0dcdd680da6db
treee11ab4a23514156d1f9c7ac135a0bc17f8fbedbb
parent73c0f60d8c7c832b49da64740f5d9cbe130811b1
panfrost: Ensure final.no_colour is initialized.

Fix warning reported by Coverity Scan.

Uninitialized scalar variable (UNINIT)
uninit_use: Using uninitialized value final. Field final.no_colour is
uninitialized.

Fixes: 3e4e849e6a96 ("panfrost: Disable tib read/write when colourmask = 0x0")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5183>
src/gallium/drivers/panfrost/pan_blend_cso.c