-
Notifications
You must be signed in to change notification settings - Fork 967
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
tracking for EXTERNAL texture use #3019
Conversation
09fbc79
to
9bd347b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm quite happy with how this turned out - I have some comments but good stuff.
9bd347b
to
6692386
Compare
Codecov Report
@@ Coverage Diff @@
## master #3019 +/- ##
==========================================
- Coverage 64.64% 64.53% -0.11%
==========================================
Files 82 82
Lines 39501 39608 +107
==========================================
+ Hits 25534 25560 +26
- Misses 13967 14048 +81
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
6692386
to
33cb495
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
G2G minus these small issues
Sorry this one got lost in the chaos, can you merge main, then we should be good to go |
desc.usage.contains(crate::TextureUses::EXTERNAL), | ||
"Texture specifies external queue family ownership but does not have TextureUse::EXTERNAL" | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't these two assertions wrong ? They don't match the error message or the comments above
As this MR is currently stale, I'm going to close it for triage purposes. Please feel-free to re-open there is renewed interest in landing these changes! |
Checklist
cargo clippy
.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown
if applicable.Connections
Resolves #2948
Description
This pull request adds tracking for a new
EXTERNAL
texture use. In the Vulkan hal, a new parameter fortexture_from_raw
to specify the owning foreign queue of the texture is added and logic changes to transition external textures to and from the external queue.Testing
An example needs to be created to use an image that would have an EXTERNAL texture use.
I will write an example to test this. It will probably be an example using kernel mode setting (KMS).
Regarding testing on CI, I am not certain how we could approach that.