Skip to content

Backends: vulkan: add possibility for custom frag and vertex shaders #8585

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johan0A
Copy link

@johan0A johan0A commented Apr 22, 2025

This is my fix I use for: #8271

@ocornut
Copy link
Owner

ocornut commented Apr 26, 2025

I am tempted to accept it (maybe with VkShaderModule inputs instead? so if vkCreateShaderModule() ever adds flags that'd be in control of the user), but it seems like it would be a better general-purpose feature to make it easier to change shaders in the render loop.

@johan0A
Copy link
Author

johan0A commented Apr 26, 2025

Jus to clarify I dont think this really solves #8271 but it does offer a good workaround for it.

(maybe with VkShaderModule inputs instead? so if vkCreateShaderModule() ever adds flags that'd be in control of the user)

Or with a VkShaderModuleCreateInfo?

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