[webkit-changes] [WebKit/WebKit] 950195: [WebGPU] Implement ShaderModule::convertPipelineLa...

mwyrzykowski noreply at github.com
Wed Feb 8 23:52:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 950195b08903eed3cfac66f3f21162992fd08297
      https://github.com/WebKit/WebKit/commit/950195b08903eed3cfac66f3f21162992fd08297
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M Source/WebGPU/WebGPU/BindGroupLayout.h
    M Source/WebGPU/WebGPU/BindGroupLayout.mm
    M Source/WebGPU/WebGPU/ShaderModule.mm

  Log Message:
  -----------
  [WebGPU] Implement ShaderModule::convertPipelineLayout
https://bugs.webkit.org/show_bug.cgi?id=251877
<radar://105140101>

Reviewed by Myles C. Maxfield.

Implement ShaderModule::convertPipelineLayout which
is a straightforwards mapping

* Source/WebGPU/WebGPU/BindGroupLayout.h:
(WebGPU::BindGroupLayout::create):
* Source/WebGPU/WebGPU/BindGroupLayout.mm:
(WebGPU::BindGroupLayout::isPresent):
(WebGPU::Device::createBindGroupLayout):
(WebGPU::BindGroupLayout::BindGroupLayout):
(WebGPU::BindGroupLayout::entries const):
(WebGPU::isPresent): Deleted.
* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::wgslBindingType):
(WebGPU::wgslSamplerType):
(WebGPU::wgslSampleType):
(WebGPU::wgslViewDimension):
(WebGPU::populateBindingMember):
(WebGPU::ShaderModule::convertPipelineLayout):

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




More information about the webkit-changes mailing list