Skip to content

Compute shaders preprocess the provided source code #7783

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

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Jun 19, 2025

  • preprocessor runs on compute shaders
  • when compute shader is created, cincludes can be passed in, allowing compute shader to use #include"chunameCS" but also #define X and #ifdef X and similar.
  • converted one example to use it, and extracted structs related to indirect rendering to an engine provided chunk

@mvaligursky mvaligursky merged commit f7aaebf into main Jun 19, 2025
7 checks passed
@mvaligursky mvaligursky deleted the mv-compute-shader-preprocessor branch June 19, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants