[webkit-changes] [WebKit/WebKit] fce14d: [WebGPU] API passing byte offsets for dynamic offs...

mwyrzykowski noreply at github.com
Mon Dec 4 10:33:42 PST 2023


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

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

  Log Message:
  -----------
  [WebGPU] API passing byte offsets for dynamic offsets to the compiler which assumed they were indices
https://bugs.webkit.org/show_bug.cgi?id=265684
<radar://119043279>

Reviewed by Dan Glastonbury.

Easier for the API to pass indices rather than byte offsets, so divide
by size of the index (uint).

* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::ShaderModule::convertPipelineLayout):

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




More information about the webkit-changes mailing list