mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Fix] (MG_State/Program): insist compile for vulkan. (will require patching glslang)
This commit is contained in:
@@ -359,8 +359,7 @@ namespace MobileGL {
|
||||
shaderTypes[i] = shaderType;
|
||||
ShaderAttrib attrib{.shaderType = shaderType,
|
||||
.sourceStr = m_shaders[i]->GetShaderSource(),
|
||||
.flags =
|
||||
ShaderCompileBits::CompileForOpenGL}; // TODO: better solution for flags
|
||||
.flags = 0}; // Will need patched glslang to work
|
||||
MGLOG_D("ProgramObject %u: GenerateBinary - compiling shader[%zu] type %u", m_externalIndex, i,
|
||||
shaderType);
|
||||
auto res = ShaderCompiler::CompileShader(attrib);
|
||||
|
||||
Reference in New Issue
Block a user