Instead of duplicating the #defines from the shader into the C code, this commit adds a custom CMake rule that exports all the #defines from a shader into a C header.
Instead of duplicating the #defines from the shader into the C code, this commit adds a custom CMake rule that exports all the #defines from a shader into a C header.