Title: [275222] trunk/Source/ThirdParty/ANGLE
- Revision
- 275222
- Author
- [email protected]
- Date
- 2021-03-30 12:04:03 -0700 (Tue, 30 Mar 2021)
Log Message
Enable sample_compare operations in Metal ANGLE
Sample_compare operations, and shadow sampling was accidently switched off when initially
setting up ANGLE_Metal. Enabling shadow sampling fixes most of the
webgl/2.0.0/deqp/functional/gles3/textureshadow/ test suite, which is currently failing.
https://bugs.webkit.org/show_bug.cgi?id=223833
Patch by Kyle Piddington <[email protected]> on 2021-03-30
Reviewed by Jon Lee.
* src/libANGLE/renderer/metal/DisplayMtl.mm:
(rx::DisplayMtl::initializeFeatures):
Modified Paths
Diff
Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (275221 => 275222)
--- trunk/Source/ThirdParty/ANGLE/ChangeLog 2021-03-30 19:02:15 UTC (rev 275221)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog 2021-03-30 19:04:03 UTC (rev 275222)
@@ -1,3 +1,17 @@
+2021-03-30 Kyle Piddington <[email protected]>
+
+ Enable sample_compare operations in Metal ANGLE
+ Sample_compare operations, and shadow sampling was accidently switched off when initially
+ setting up ANGLE_Metal. Enabling shadow sampling fixes most of the
+ webgl/2.0.0/deqp/functional/gles3/textureshadow/ test suite, which is currently failing.
+
+ https://bugs.webkit.org/show_bug.cgi?id=223833
+
+ Reviewed by Jon Lee.
+
+ * src/libANGLE/renderer/metal/DisplayMtl.mm:
+ (rx::DisplayMtl::initializeFeatures):
+
2021-03-26 Jessie Berlin <[email protected]>
Update the BEFORE/SINCE, SYSTEM_VERSION_PREFIX, and MACOSX_DEPLOYMENT_TARGET flags
Modified: trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm (275221 => 275222)
--- trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm 2021-03-30 19:02:15 UTC (rev 275221)
+++ trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm 2021-03-30 19:04:03 UTC (rev 275222)
@@ -826,6 +826,11 @@
ANGLE_FEATURE_CONDITION((&mFeatures), allowMultisampleStoreAndResolve,
supportsEitherGPUFamily(3, 1));
+ ANGLE_FEATURE_CONDITION((&mFeatures), allowRuntimeSamplerCompareMode,
+ supportsEitherGPUFamily(3, 1));
+ ANGLE_FEATURE_CONDITION((&mFeatures), allowSamplerCompareGradient, supportsEitherGPUFamily(3,1));
+ ANGLE_FEATURE_CONDITION((&mFeatures), allowSamplerCompareLod, supportsEitherGPUFamily(3,1));
+
// http://anglebug.com/4919
// Stencil blit shader is not compiled on Intel & NVIDIA, need investigation.
ANGLE_FEATURE_CONDITION((&mFeatures), hasStencilOutput,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes