From 23040782614bed020156d2a43eadd47fa06ad387 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: --- src/gallium/drivers/zink/zink_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,