Skip to content

Use EXT_host_image_copy if supported#1691

Draft
doitsujin wants to merge 6 commits intoHansKristian-Work:masterfrom
doitsujin:host-image-copy
Draft

Use EXT_host_image_copy if supported#1691
doitsujin wants to merge 6 commits intoHansKristian-Work:masterfrom
doitsujin:host-image-copy

Conversation

@doitsujin
Copy link
Copy Markdown
Collaborator

Currently, only Lavapipe supports this to a sufficient degree, hence the draft.

Unfortunately, we cannot really use the extension on Nvidia in any meaningful way because host-visible images are only exposed on HVV, so we just end up disabling it there and keep using the fallback path. ReadFromSubresource seems to be uncommon enough that the quirks of our current fallback implementation don't really seem to matter anyway.

Should definitely hold off landing this until we get RADV support.

Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
And disable the feature if we can't meaningfully use it.

Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
@qwertychouskie
Copy link
Copy Markdown

As of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35974 EXT_host_image_copy is supported by RADV when using RADV_PERFTEST=hic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants