Title: [292941] trunk/Source/WebGPU
Revision
292941
Author
[email protected]
Date
2022-04-16 12:28:05 -0700 (Sat, 16 Apr 2022)

Log Message

[WebGPU] Fix the Big Sur build
https://bugs.webkit.org/show_bug.cgi?id=239422

Unreviewed.

HardwareLimits.mm:338:23: error: constexpr function never produces a constant _expression_ [-Winvalid-constexpr]

* WebGPU/HardwareLimits.mm:
(WebGPU::checkLimits):

Modified Paths

Diff

Modified: trunk/Source/WebGPU/ChangeLog (292940 => 292941)


--- trunk/Source/WebGPU/ChangeLog	2022-04-16 04:47:58 UTC (rev 292940)
+++ trunk/Source/WebGPU/ChangeLog	2022-04-16 19:28:05 UTC (rev 292941)
@@ -1,3 +1,15 @@
+2022-04-16  Myles C. Maxfield  <[email protected]>
+
+        [WebGPU] Fix the Big Sur build
+        https://bugs.webkit.org/show_bug.cgi?id=239422
+
+        Unreviewed.
+
+        HardwareLimits.mm:338:23: error: constexpr function never produces a constant _expression_ [-Winvalid-constexpr]
+
+        * WebGPU/HardwareLimits.mm:
+        (WebGPU::checkLimits):
+
 2022-04-15  Myles C. Maxfield  <[email protected]>
 
         [WebGPU] Implement hardware limits

Modified: trunk/Source/WebGPU/WebGPU/HardwareLimits.mm (292940 => 292941)


--- trunk/Source/WebGPU/WebGPU/HardwareLimits.mm	2022-04-16 04:47:58 UTC (rev 292940)
+++ trunk/Source/WebGPU/WebGPU/HardwareLimits.mm	2022-04-16 19:28:05 UTC (rev 292941)
@@ -335,7 +335,7 @@
     return result;
 }
 
-constexpr static bool checkLimits(const WGPULimits& limits)
+static bool checkLimits(const WGPULimits& limits)
 {
     // https://gpuweb.github.io/gpuweb/#limit-default
     auto defaultLimits = WGPULimits {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to