[Fix] (MG_Util/ShaderCompiler): make glslang don't emit demote to replace discard

This commit is contained in:
2025-08-08 10:30:25 +08:00
parent 38c0a54fcc
commit fcd52a9177
3 changed files with 66 additions and 1 deletions
@@ -79,6 +79,8 @@ namespace ShaderTranspiler {
return spvc_compiler_compile(compiler, result);
}
const char* SpvcSession::GetLastErrorString() const {
return spvc_context_get_last_error_string(context);
}