Title: [293096] trunk/Source/WebCore/PAL
Revision
293096
Author
[email protected]
Date
2022-04-20 08:56:59 -0700 (Wed, 20 Apr 2022)

Log Message

[WebGPU] Fix texture conversion format typo
https://bugs.webkit.org/show_bug.cgi?id=239446

Reviewed by Kimmo Kinnunen.

I mixed up "plus" and "unorm".

* pal/graphics/WebGPU/Impl/WebGPUConvertToBackingContext.cpp:
(PAL::WebGPU::ConvertToBackingContext::convertToBacking):

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (293095 => 293096)


--- trunk/Source/WebCore/PAL/ChangeLog	2022-04-20 15:32:08 UTC (rev 293095)
+++ trunk/Source/WebCore/PAL/ChangeLog	2022-04-20 15:56:59 UTC (rev 293096)
@@ -1,3 +1,15 @@
+2022-04-20  Myles C. Maxfield  <[email protected]>
+
+        [WebGPU] Fix texture conversion format typo
+        https://bugs.webkit.org/show_bug.cgi?id=239446
+
+        Reviewed by Kimmo Kinnunen.
+
+        I mixed up "plus" and "unorm".
+
+        * pal/graphics/WebGPU/Impl/WebGPUConvertToBackingContext.cpp:
+        (PAL::WebGPU::ConvertToBackingContext::convertToBacking):
+
 2022-04-19  Antoine Quint  <[email protected]>
 
         [model] set canonicalWebPageURL and urlFragment on ASVInlinePreview on iOS

Modified: trunk/Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUConvertToBackingContext.cpp (293095 => 293096)


--- trunk/Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUConvertToBackingContext.cpp	2022-04-20 15:32:08 UTC (rev 293095)
+++ trunk/Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUConvertToBackingContext.cpp	2022-04-20 15:56:59 UTC (rev 293096)
@@ -573,7 +573,7 @@
     case TextureFormat::Astc12x12UnormSRGB:
         return static_cast<WGPUTextureFormat>(WGPUTextureFormat_ASTC12x12UnormSrgb);
     case TextureFormat::Depth24unormStencil8:
-        return WGPUTextureFormat_Depth24PlusStencil8;
+        return WGPUTextureFormat_Depth24UnormStencil8;
     case TextureFormat::Depth32floatStencil8:
         return static_cast<WGPUTextureFormat>(WGPUTextureFormat_Depth32FloatStencil8);
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to