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

Vulkan backend: Add override for the subpass to reference during VkPipeline creation #3579

Closed
wants to merge 1 commit into from

Conversation

bdero
Copy link
Contributor

@bdero bdero commented Nov 8, 2020

This allows for binding the pipeline/sending draw commands
(via ImGui_ImplVulkan_RenderDrawData) against any subpass, rather than
being restricted to only the first subpass.

Without this, attempting to bind the pipeline against a subpass other than
the first one results in validation layer errors and, at worst, some drivers
failing if the subpass attachments differ.

This allows for binding the pipeline/sending draw commands
(via `ImGui_ImplVulkan_RenderDrawData`) against any subpass, rather than
being restricted to only the first subpass.

Without this, attempting to bind the pipeline against a subpass other than
the first one results in validation layer errors and, at worst, some drivers
failing if the subpass attachments differ.
@bdero bdero changed the title Add override for the subpass to reference during VkPipeline creation Vulkan backend: Add override for the subpass to reference during VkPipeline creation Nov 8, 2020
ocornut pushed a commit that referenced this pull request Nov 11, 2020
…Pipeline creation. (#3579)

This allows for binding the pipeline/sending draw commands
(via `ImGui_ImplVulkan_RenderDrawData`) against any subpass, rather than
being restricted to only the first subpass.

Without this, attempting to bind the pipeline against a subpass other than
the first one results in validation layer errors and, at worst, some drivers
failing if the subpass attachments differ.
@ocornut
Copy link
Owner

ocornut commented Nov 11, 2020

Thank you @bdero for this PR, it is now merged.

I must double my thanks as pull requests - however simple - are extremely rarely coming without issues, but yours is ticking all the boxes, and I appreciate that very much.

@ocornut ocornut closed this Nov 11, 2020
@bdero
Copy link
Contributor Author

bdero commented Nov 15, 2020

@ocornut Thanks for the kind words, and for building/maintaining imgui of course!

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

Successfully merging this pull request may close these issues.

2 participants