From 7bd126c0e6808d1dadba724d3c48c67c658475d6 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 10 Feb 2025 14:29:13 -0500 Subject: [PATCH] zink: only enable unsynchronized_texture_subdata with HIC this is otherwise useless cc: mesa-stable Part-of: (cherry picked from commit 23040782614bed020156d2a43eadd47fa06ad387) --- .pick_status.json | 2 +- src/gallium/drivers/zink/zink_context.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 5c37095e47f..23ee0914434 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -154,7 +154,7 @@ "description": "zink: only enable unsynchronized_texture_subdata with HIC", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 51f70f8753c..d51e1891131 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -5596,7 +5596,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) .is_resource_busy = zink_context_is_resource_busy, .driver_calls_flush_notify = !screen->driver_workarounds.track_renderpasses, .unsynchronized_get_device_reset_status = true, - .unsynchronized_texture_subdata = true, + .unsynchronized_texture_subdata = screen->info.have_EXT_host_image_copy, .parse_renderpass_info = screen->driver_workarounds.track_renderpasses, .dsa_parse = zink_tc_parse_dsa, .fs_parse = zink_tc_parse_fs,