-
Notifications
You must be signed in to change notification settings - Fork 192
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
extensions: Add VK_KHR_present_wait #493
Conversation
8ffb2d4
to
6d3c9df
Compare
Please merge this PR so I can include this new extension in the upcoming cleanup PR. |
Feel free to fix that in this PR instead, so that this extension is introduced with the clean way of doing things from the get-go. |
Will do. |
What is preferred : self.fns
.wait_for_present_khr(
self.handle,
swapchain,
present_id,
timeout.as_nanos().try_into().unwrap(),
)
.result() or let timeout_ns = timeout.as_nanos().try_into().unwrap();
self.fns
.wait_for_present_khr(self.handle, swapchain, present_id, timeout_ns)
.result() ? |
I updated the 2nd choice to not alias timeout... |
6d3c9df
to
f24d5a8
Compare
breaking change: - some extensions were exposing instance() instead of device() includes: - renaming function pointer member to fns - moving name(), fp(), device()/instance() functions at end of file - adding missing device()/instance() functions - using result() instead of into() see ash-rs#493
this is a breaking change see ash-rs#493
f24d5a8
to
2392e58
Compare
breaking change: - some extensions were exposing instance() instead of device() includes: - renaming function pointer member to fns - moving name(), fp(), device()/instance() functions at end of file - adding missing device()/instance() functions - using result() instead of into() see ash-rs#493
breaking change: - some extensions were exposing instance() instead of device() includes: - renaming function pointer member to fns - moving name(), fp(), device()/instance() functions at end of file - adding missing device()/instance() functions - using result() instead of into() see ash-rs#493
breaking change: - some extensions were exposing instance() instead of device() includes: - renaming function pointer member to fns - moving name(), fp(), device()/instance() functions at end of file - adding missing device()/instance() functions - using result() instead of into() see ash-rs#493
099880f
to
30db727
Compare
30db727
to
4bb7436
Compare
breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions - using `result()` instead of `into()` see ash-rs#493
this is a breaking change see #493
breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions - using `result()` instead of `into()` see ash-rs#493
breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions see ash-rs#493
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.
Thanks, sorry for the wait!
breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions see ash-rs#493
breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions see ash-rs#493
breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions see ash-rs#493
breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions see ash-rs#493
…494) * extensions: Make naming and layout consistent across all extensions breaking change: - some extensions were exposing `instance()` instead of `device()` includes: - renaming function pointer member to `fns` - moving `name()`, `fp(`), `device()`/`instance()` functions at end of file - adding missing `device()`/`instance()` functions see #493 * debug_marker: Remove unneeded `device` from `debug_marker_set_object_name()` * extensions: Remove unneeded `instance` and `device` struct members and functions * extensions: renamed all `fns` fields to `fp` to match `pub fn fp()` getter
No description provided.