Skip to content

Commit 3e5b017

Browse files
jvanverthSkia Commit-Bot
authored andcommitted
Don't use MSAA config if can't resolve
Bug: skia:8243 Change-Id: I538e7181ab9922bbabb06e4acde1d560f2502de1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/220216 Auto-Submit: Jim Van Verth <jvanverth@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
1 parent a3552c5 commit 3e5b017

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/gpu/mtl/GrMtlCaps.mm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -417,17 +417,15 @@
417417
if (this->isMac()) {
418418
info->fFlags = ConfigInfo::kAllFlags;
419419
} else {
420-
info->fFlags = ConfigInfo::kTextureable_Flag | ConfigInfo::kRenderable_Flag |
421-
ConfigInfo::kMSAA_Flag;
420+
info->fFlags = ConfigInfo::kTextureable_Flag | ConfigInfo::kRenderable_Flag;
422421
}
423422

424423
// RG_1616 uses RG16Unorm
425424
info = &fConfigTable[kRG_1616_GrPixelConfig];
426425
if (this->isMac()) {
427426
info->fFlags = ConfigInfo::kAllFlags;
428427
} else {
429-
info->fFlags = ConfigInfo::kTextureable_Flag | ConfigInfo::kRenderable_Flag |
430-
ConfigInfo::kMSAA_Flag;
428+
info->fFlags = ConfigInfo::kTextureable_Flag | ConfigInfo::kRenderable_Flag;
431429
}
432430
}
433431

0 commit comments

Comments
 (0)