Title: [293095] trunk/Source/WebGPU
Revision
293095
Author
[email protected]
Date
2022-04-20 08:32:08 -0700 (Wed, 20 Apr 2022)

Log Message

[WebGPU] RGB9E5Ufloat textures are not renderable
https://bugs.webkit.org/show_bug.cgi?id=239445

Reviewed by Kimmo Kinnunen.

I misread the table in the spec. This format isn't listed in
https://gpuweb.github.io/gpuweb/#plain-color-formats but is instead
listed in https://gpuweb.github.io/gpuweb/#packed-formats.

* WebGPU/Texture.mm:
(WebGPU::isRenderableFormat):

Modified Paths

Diff

Modified: trunk/Source/WebGPU/ChangeLog (293094 => 293095)


--- trunk/Source/WebGPU/ChangeLog	2022-04-20 15:04:25 UTC (rev 293094)
+++ trunk/Source/WebGPU/ChangeLog	2022-04-20 15:32:08 UTC (rev 293095)
@@ -1,3 +1,17 @@
+2022-04-20  Myles C. Maxfield  <[email protected]>
+
+        [WebGPU] RGB9E5Ufloat textures are not renderable
+        https://bugs.webkit.org/show_bug.cgi?id=239445
+
+        Reviewed by Kimmo Kinnunen.
+
+        I misread the table in the spec. This format isn't listed in
+        https://gpuweb.github.io/gpuweb/#plain-color-formats but is instead
+        listed in https://gpuweb.github.io/gpuweb/#packed-formats.
+
+        * WebGPU/Texture.mm:
+        (WebGPU::isRenderableFormat):
+
 2022-04-18  Elliott Williams  <[email protected]>
 
         [XCBuild] Use XCBuild for all command-line and project builds

Modified: trunk/Source/WebGPU/WebGPU/Texture.mm (293094 => 293095)


--- trunk/Source/WebGPU/WebGPU/Texture.mm	2022-04-20 15:04:25 UTC (rev 293094)
+++ trunk/Source/WebGPU/WebGPU/Texture.mm	2022-04-20 15:32:08 UTC (rev 293095)
@@ -759,7 +759,6 @@
     case WGPUTextureFormat_BGRA8Unorm:
     case WGPUTextureFormat_BGRA8UnormSrgb:
     case WGPUTextureFormat_RGB10A2Unorm:
-    case WGPUTextureFormat_RGB9E5Ufloat:
     case WGPUTextureFormat_RG32Float:
     case WGPUTextureFormat_RG32Uint:
     case WGPUTextureFormat_RG32Sint:
@@ -781,6 +780,7 @@
     case WGPUTextureFormat_RG8Snorm:
     case WGPUTextureFormat_RGBA8Snorm:
     case WGPUTextureFormat_RG11B10Ufloat:
+    case WGPUTextureFormat_RGB9E5Ufloat:
     case WGPUTextureFormat_BC1RGBAUnorm:
     case WGPUTextureFormat_BC1RGBAUnormSrgb:
     case WGPUTextureFormat_BC2RGBAUnorm:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to