panfrost: Invert no_colour to enabled
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 19 Aug 2022 19:14:03 +0000 (15:14 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 21 Aug 2022 19:37:10 +0000 (19:37 +0000)
commit0a71d56fd452e9c53da44f21583c197c9661488c
tree15696def8cfb98a5d5f6fbaa03e1e5b7da2b7257
parent39bf3ea7d3c172ea1b4f9afb3131844bdc144d24
panfrost: Invert no_colour to enabled

This way, blend info that's left zeroed out defaults to disabled. Fixes an
assertion failure in KHR-GLES31.core.draw_buffers_indexed.color_masks due to
the blend CSO max_rt being set unreliably. This is also probably clearer.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17841>
src/gallium/drivers/panfrost/pan_blend_cso.h
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_helpers.c