zink: disable compute pbos on turnip

this saves ~15 minutes in cts somehow

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16548>
This commit is contained in:
Mike Blumenkrantz 2022-05-16 23:41:41 -04:00 committed by Marge Bot
parent 3cd320c5fa
commit 50bc8efe18
1 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_TRANSFER_MODES: {
enum pipe_texture_transfer_mode mode = PIPE_TEXTURE_TRANSFER_BLIT;
if (!screen->is_cpu &&
/* this needs substantial perf tuning */
screen->info.driver_props.driverID != VK_DRIVER_ID_MESA_TURNIP &&
screen->info.have_KHR_8bit_storage &&
screen->info.have_KHR_16bit_storage &&
screen->info.have_KHR_shader_float16_int8)