mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-20 16:31:57 +09:00
[Perf, Test] (ShaderTranspiler, DirectGLES): answer both pass-gate probes from one SPIR-V parse
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user