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

Add extended dynamic state extension #421

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

filnet
Copy link
Contributor

@filnet filnet commented Apr 25, 2021

No description provided.

ash/src/extensions/ext/extended_dynamic_state.rs Outdated Show resolved Hide resolved
ash/src/extensions/ext/extended_dynamic_state.rs Outdated Show resolved Hide resolved
ash/src/extensions/ext/extended_dynamic_state.rs Outdated Show resolved Hide resolved
ash/src/extensions/ext/debug_marker.rs Outdated Show resolved Hide resolved
@filnet filnet force-pushed the extended_dynamic_state branch 2 times, most recently from 46e364c to 747fa8b Compare April 27, 2021 09:33
@filnet filnet force-pushed the extended_dynamic_state branch 2 times, most recently from 2422304 to c556563 Compare April 27, 2021 10:21
Copy link
Collaborator

@MarijnS95 MarijnS95 left a comment

Choose a reason for hiding this comment

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

Looks good :)

ash/src/extensions/ext/extended_dynamic_state.rs Outdated Show resolved Hide resolved
depth_test_enable: bool,
) {
self.extended_dynamic_state_fn
.cmd_set_depth_test_enable_ext(command_buffer, depth_test_enable.into())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Heh, I wasn't even aware we used .into() for bool -> Bool32 conversion (struct builders use it) but I like it, as long as this results in vk::FALSE and vk::TRUE. Perhaps we should clean up if update { vk::TRUE } else { vk::FALSE } in nv/ray_tracing.rs some time.

@MarijnS95 MarijnS95 merged commit 788fda0 into ash-rs:master Apr 27, 2021
@MarijnS95
Copy link
Collaborator

@filnet Thanks! Merged!

Not sure why the commit title reads Add VK_KHR/EXT_extended_dynamic_state extension, there's no KHR extension with the same name right? If there was it should probably have its own struct in the right place anyway.

@filnet
Copy link
Contributor Author

filnet commented Apr 27, 2021

The title is wrong : it is a copy/paste from a similar title.
Sorry about that...

@filnet filnet deleted the extended_dynamic_state branch April 27, 2021 15:00
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