[Perf, Test] (ShaderTranspiler, DirectGLES): answer both pass-gate probes from one SPIR-V parse

This commit is contained in:
2026-08-20 07:53:07 -04:00
parent a4fda520ed
commit 0b3101bf6b
8 changed files with 103 additions and 25 deletions
@@ -198,6 +198,10 @@ namespace MobileGL {
// path produce the error rather than inventing a verdict from it.
return false;
}
return DeclaresMultisampledImage(context.get());
}
bool ClampMultisampleFetchPass::DeclaresMultisampledImage(IRContext* context) {
for (const Instruction& type : context->module()->types_values()) {
if (IsMultisampledImageType(&type)) {
return true;