[Fix] (MG_Util/Program): program linking

This commit is contained in:
2025-07-21 14:37:32 +08:00
parent bb396f8651
commit 1ad2513700
4 changed files with 94 additions and 131 deletions
@@ -10,7 +10,8 @@ namespace MG_Util {
namespace ShaderTranspiler {
class ShaderCompiler {
public:
static CompilerResult CompileShader(const ShaderAttrib& attrib);
static Result<SharedPtr<glslang::TShader>> CompileShader(const ShaderAttrib& attrib);
static Result<Vector<Vector<unsigned>>> LinkProgram(const ProgramAttrib& attrib);
};
}
}