zink: fix EXT_color_write_enable check
Checking for the extension isn't enough, we also need to check for the
feature-bit.
Fixes: 49a20e0981
("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>
This commit is contained in:
parent
32b9e639b7
commit
747913377f
|
@ -2079,7 +2079,11 @@ init_driver_workarounds(struct zink_screen *screen)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
screen->driver_workarounds.color_write_missing = !screen->info.have_EXT_color_write_enable;
|
||||
|
||||
screen->driver_workarounds.color_write_missing =
|
||||
!screen->info.have_EXT_color_write_enable ||
|
||||
!screen->info.cwrite_feats.colorWriteEnable;
|
||||
|
||||
screen->driver_workarounds.depth_clip_control_missing = !screen->info.have_EXT_depth_clip_control;
|
||||
if (screen->info.driver_props.driverID == VK_DRIVER_ID_AMD_PROPRIETARY)
|
||||
/* this completely breaks xfb somehow */
|
||||
|
|
Loading…
Reference in New Issue