[Fix] (Diligent/PSO): Use GLSL For Vulkan mode somewhere.

This commit is contained in:
BZLZHH
2025-06-21 19:35:16 +08:00
parent cbf63dd2b6
commit ee29a397da
2 changed files with 8 additions and 2 deletions
@@ -61,7 +61,8 @@ namespace MG_GL::GL {
auto spirv = MG_Util::Program::CompileGLSLToSPIRV(
MG_State_T::programState->shaders_[reflectionShaderId].type,
itSource->second,
infoLog
infoLog,
true
);
if (spirv.empty()) {
MG_Util::Debug::LogE("GLSL to SPIR-V compilation failed for shader %u: %s", reflectionShaderId, infoLog.c_str());