[Feat]: (MG_Test/Program): add test to check optfine shader behavior

This commit is contained in:
2025-11-12 15:56:40 +08:00
parent 8b8fa41ef2
commit bfeb827eb7
3 changed files with 120 additions and 16 deletions
@@ -174,6 +174,10 @@ namespace MobileGL {
return std::unexpected(r);
}
for (auto [name, loc]: attrib.explicitAttribLocations) {
MGLOG_D("%s: got explicitly set - layout(location = %d) %s;", __func__, loc, name.c_str());
}
// UniquePtr<glslang::TIoMapResolver> resolver;
UniquePtr<TMglGlslIoResolver> resolver;
for (unsigned stage = 0; stage < EShLangCount; stage++) {