[webkit-changes] [WebKit/WebKit] d98c1f: [WGSL][WebGPU] properly compute the address space ...
mwyrzykowski
noreply at github.com
Thu Jun 15 08:45:37 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d98c1f9162a0f5cc180204ed11aeded85cc96795
https://github.com/WebKit/WebKit/commit/d98c1f9162a0f5cc180204ed11aeded85cc96795
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Source/WebGPU/WebGPU/BindGroup.mm
M Source/WebGPU/WebGPU/BindGroupLayout.h
M Source/WebGPU/WebGPU/BindGroupLayout.mm
M Source/WebGPU/WebGPU/ComputePassEncoder.mm
Log Message:
-----------
[WGSL][WebGPU] properly compute the address space for the buffer binding
https://bugs.webkit.org/show_bug.cgi?id=257945
<radar://110622581>
Reviewed by Tadeu Zagallo.
Compute the address space for the binding and make sure
the compute and render pass encoders use it.
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::bindingMemberForGlobal):
* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::resourceUsageForBindingAcccess):
(WebGPU::Device::createBindGroup):
* Source/WebGPU/WebGPU/BindGroupLayout.h:
* Source/WebGPU/WebGPU/BindGroupLayout.mm:
(WebGPU::Device::createBindGroupLayout):
(WebGPU::BindGroupLayout::indexForBinding const):
* Source/WebGPU/WebGPU/ComputePassEncoder.mm:
(WebGPU::ComputePassEncoder::setBindGroup):
Canonical link: https://commits.webkit.org/265198@main
More information about the webkit-changes
mailing list