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

Generate the Vulkan shaders at build time #2199

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

ahesham-arm
Copy link
Contributor

@ahesham-arm ahesham-arm commented Dec 19, 2024

Use add_custom_command and add_custom_target instead of execute_process so the generation of the Vulkan shader is done at build time and not configuration time.

Use configure_file instead of string replacement.

Fixes #2179

Use `add_custom_command` and `add_custom_target` instead of
`execute_process` so the generation of the Vulkan shader is done at
build time and not configuration time.

Use `configure_file` instead of string replacement.

Signed-off-by: Ahmed Hesham <[email protected]>
Copy link
Contributor

@kpet kpet left a comment

Choose a reason for hiding this comment

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

Nice!

@bashbaug
Copy link
Contributor

bashbaug commented Jan 7, 2025

Merging as discussed in the January 7th teleconference.

@bashbaug bashbaug merged commit 4486241 into KhronosGroup:main Jan 7, 2025
9 checks passed
@ahesham-arm ahesham-arm deleted the vulkan_shaders branch January 7, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants