[Fix] (MG_State/Program): properly invoke SPIR-V sanitize routine

This commit is contained in:
2026-01-24 19:22:13 +08:00
parent eac7a9e474
commit e9ef6db44b
3 changed files with 33 additions and 30 deletions
@@ -72,6 +72,7 @@ namespace MobileGL {
}
// --- Found it, continue to patch it ---
MGLOG_D("Found 1 occurrence of `FloatEqualsZero`, patching");
// 1. Get var type (Float) and result type (Bool)
uint32_t float_type_id = def_use_mgr->GetDef(var_id)->type_id();