mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 21:55:09 +00:00
Add PSSL and SPIR-V shader compilation support
- Implemented `compilePSSLShader` function in `shaderc_pssl.cpp` to handle PSSL shader compilation, currently returning an unsupported message. - Introduced `shaderc_spirv.cpp` with comprehensive SPIR-V shader compilation logic, including GLSL to SPIR-V translation, reflection, and uniform handling. - Added necessary includes and defined resource limits for SPIR-V compilation. - Established texture format mappings and attribute enumerations for shader inputs. - Enhanced error handling and logging for shader compilation processes.
This commit is contained in:
Reference in New Issue
Block a user