[webkit-changes] [WebKit/WebKit] 15c524: [WebGPU] rg11b10ufloat should only report true for...

mwyrzykowski noreply at github.com
Tue Dec 5 15:42:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 15c524be489dbc3710b0a0ebe4c88b6e951323fa
      https://github.com/WebKit/WebKit/commit/15c524be489dbc3710b0a0ebe4c88b6e951323fa
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M Source/WebGPU/WebGPU/Device.h
    M Source/WebGPU/WebGPU/Device.mm
    M Source/WebGPU/WebGPU/Texture.mm

  Log Message:
  -----------
  [WebGPU] rg11b10ufloat should only report true for multisampling when WGPUFeatureName_RG11B10UfloatRenderable is enabled
https://bugs.webkit.org/show_bug.cgi?id=265897
<radar://119209975>

Reviewed by Dan Glastonbury.

This format is only renderable / supporting multisampling if
the WGPUFeatureName_RG11B10UfloatRenderable feature is enabled.

* Source/WebGPU/WebGPU/Device.h:
* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Device::hasFeature const):
(WebGPU::Device::hasFeature): Deleted.
Fix const correctness on non-mutating member function.

* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::isRenderableFormat):
(WebGPU::supportsMultisampling):
(WebGPU::Device::validateCreateTexture):
This format is only renderable / supporting multisampling if
the WGPUFeatureName_RG11B10UfloatRenderable feature is enabled.

Canonical link: https://commits.webkit.org/271577@main




More information about the webkit-changes mailing list