[Chore] (MG_Backend/DirectVulkan): eliminate vague texture binding fallbacks

This commit is contained in:
2026-05-05 18:34:44 +08:00
parent 0a000d1628
commit 8e4a4359b4
6 changed files with 106 additions and 61 deletions
@@ -541,6 +541,9 @@ namespace MobileGL::MG_Impl::GLImpl {
} else {
auto* ttype = programObject.GetUniformTType(location);
if (ttype->isTexture() || ttype->isImage()) {
MGLOG_D("%s: program = %d, opaque uniform location = %d, name = '%s', unit = %d", __func__,
programObject.GetExternalIndex(), location, programObject.GetUniformName(location).c_str(),
static_cast<Int>(*value));
programObject.SetUniformSamplerOrImageUnitIndex(location, *value);
}
}