zink: only enable unsynchronized_texture_subdata with HIC

this is otherwise useless

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33484>
(cherry picked from commit 2304078261)
This commit is contained in:
Mike Blumenkrantz 2025-02-10 14:29:13 -05:00 committed by Eric Engestrom
parent 0c862e61e2
commit 7bd126c0e6
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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,