Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vkd3d: enable ds<->color copies using maintenance8 #2314

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

zmike
Copy link
Collaborator

@zmike zmike commented Jan 27, 2025

this avoids renderpass copies for allowed formats, though only DIRECT/GRAPHICS queue is supported by maintenance8

Copy link
Collaborator

@doitsujin doitsujin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style nit.

As for what Hans-Kristian said, I'm not sure off the top of my head if something like D32->RGBA8 is legal or not. In D3D11 it definitely is, but at the same time I don't think our current fallback even supports that anyway.

I also don't think we should ever encounter D24S8 here, D3D12 largely treats depth-stencil as multi-planar and CopyResource doesn't allow mismatched formats, so if there's an aspect mismatch here we should only ever have one single aspect set on each subresource range.

libs/vkd3d/command.c Outdated Show resolved Hide resolved
this avoids renderpass copies for allowed formats, though
only DIRECT/GRAPHICS queue is supported by maintenance8

Signed-off-by: Mike Blumenkrantz <[email protected]>
Copy link
Owner

@HansKristian-Work HansKristian-Work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Passes test on RADV and new VVL doesn't trip errors in the edge case copy test, so should be fine.

@HansKristian-Work HansKristian-Work merged commit 12e48ba into HansKristian-Work:master Jan 28, 2025
3 checks passed
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.

3 participants