mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Fix] (Diligent/PSO): Use GLSL For Vulkan mode somewhere.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user