mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 00:20:09 +01:00
zink: enable WSI-faking for RADV too
temporary until we get real WSI support Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8284>
This commit is contained in:
parent
356a381600
commit
924d1ba9eb
1 changed files with 7 additions and 3 deletions
|
|
@ -986,9 +986,13 @@ zink_internal_setup_moltenvk(struct zink_screen *screen)
|
|||
static void
|
||||
check_device_needs_mesa_wsi(struct zink_screen *screen)
|
||||
{
|
||||
/* Raspberry Pi 4 V3DV driver */
|
||||
if (screen->info.props.vendorID == 0x14E4 &&
|
||||
screen->info.props.deviceID == 42) {
|
||||
if (
|
||||
/* Raspberry Pi 4 V3DV driver */
|
||||
(screen->info.props.vendorID == 0x14E4 &&
|
||||
screen->info.props.deviceID == 42) ||
|
||||
/* RADV */
|
||||
screen->info.driver_props.driverID == VK_DRIVER_ID_MESA_RADV_KHR
|
||||
) {
|
||||
screen->needs_mesa_wsi = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue