This PR introduces a runtime shader compiler API, enabling on-the-fly GLSL shader compilation.
Key features include:
GL_GOOGLE_include_directive Support: The API fully supports the #include directive within GLSL shaders. It is assumed that all included files reside in the same directories as their parent shaders.
Shader Validation and Optimization: Post-compilation, the API validates shaders to ensure they meet the SPIR-V specification and applies optimizations focused on reducing shader size
Resource Directory Convention: The system expects all shader source files to be located within a designated resource directory (Resources/Shaders)
Includes tests to verify shader compilation, without extending to functional correctness of the shaders
This PR introduces a runtime shader compiler API, enabling on-the-fly GLSL shader compilation.
Key features include:
GL_GOOGLE_include_directive Support: The API fully supports the
#include
directive within GLSL shaders. It is assumed that all included files reside in the same directories as their parent shaders.Shader Validation and Optimization: Post-compilation, the API validates shaders to ensure they meet the SPIR-V specification and applies optimizations focused on reducing shader size
Resource Directory Convention: The system expects all shader source files to be located within a designated resource directory (
Resources/Shaders
)Includes tests to verify shader compilation, without extending to functional correctness of the shaders