Not disable L16F with ANGLE
We are trying to enable ANGLE on Android. However with ANGLE, chrome will use L16F instead of R16F textures, so we should not disable it with ANGLE. BTW, if there is a driver bug for L16F, ANGLE can emulate L16F with R16F. Bug: chromium:983167 Change-Id: I6d0edfdc8d33c2b8a650f67ab36c7c84ef448372 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/547836 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
eee915fd1c
commit
62f460742b
@ -4215,8 +4215,10 @@ void GrGLCaps::applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo,
|
||||
// All Adrenos claim to support LUM16F but don't appear to actually do so.
|
||||
// The failing devices/gpus were: Nexus5/Adreno330, Nexus5x/Adreno418, Pixel/Adreno530,
|
||||
// Pixel2XL/Adreno540 and Pixel3/Adreno630
|
||||
formatWorkarounds->fDisableLuminance16F = ctxInfo.renderer() == GrGLRenderer::kIntelBroadwell ||
|
||||
ctxInfo.vendor() == GrGLVendor::kQualcomm;
|
||||
formatWorkarounds->fDisableLuminance16F =
|
||||
(ctxInfo.renderer() == GrGLRenderer::kIntelBroadwell ||
|
||||
ctxInfo.vendor() == GrGLVendor::kQualcomm) &&
|
||||
ctxInfo.angleBackend() == GrGLANGLEBackend::kUnknown;
|
||||
|
||||
#ifdef SK_BUILD_FOR_MAC
|
||||
// On a MacBookPro 11.5 running MacOS 10.13 with a Radeon M370X the TransferPixelsFrom test
|
||||
|
Loading…
Reference in New Issue
Block a user