mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
zink: disable push descriptors on amd
I'm told this is bad for perf Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10998>
This commit is contained in:
parent
7a5800af3d
commit
360f1032d2
1 changed files with 5 additions and 0 deletions
|
|
@ -1630,6 +1630,11 @@ zink_internal_create_screen(const struct pipe_screen_config *config)
|
|||
if (!screen->dev)
|
||||
goto fail;
|
||||
|
||||
if (screen->info.driver_props.driverID == VK_DRIVER_ID_MESA_RADV ||
|
||||
screen->info.driver_props.driverID == VK_DRIVER_ID_AMD_OPEN_SOURCE ||
|
||||
screen->info.driver_props.driverID == VK_DRIVER_ID_AMD_PROPRIETARY)
|
||||
/* this has bad perf on AMD */
|
||||
screen->info.have_KHR_push_descriptor = false;
|
||||
if (!load_device_extensions(screen))
|
||||
goto fail;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue