zink: fix EXT_color_write_enable check
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 22 Jul 2022 10:55:37 +0000 (12:55 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 25 Jul 2022 13:57:42 +0000 (15:57 +0200)
commit747913377f22b8c55b456612cc586f9eabc14ee4
tree88e32cccd55a020d9dbba6ccb92a5f5929183ee9
parent32b9e639b77ba348bf58f720b35fd6bcb501b211
zink: fix EXT_color_write_enable check

Checking for the extension isn't enough, we also need to check for the
feature-bit.

Fixes: 49a20e0981c ("zink: start a unified driver workarounds struct")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17709>
src/gallium/drivers/zink/zink_screen.c