[webkit-changes] [WebKit/WebKit] 91c2da: [WebGPU] Wrong default values for bytesPerRow and ...

mwyrzykowski noreply at github.com
Tue Sep 19 23:04:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 91c2da047ad0f1e57a8669c49d9f22ec57f2a0cf
      https://github.com/WebKit/WebKit/commit/91c2da047ad0f1e57a8669c49d9f22ec57f2a0cf
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUQueueImpl.cpp
    M Source/WebGPU/WebGPU/Queue.mm

  Log Message:
  -----------
  [WebGPU] Wrong default values for bytesPerRow and rowsPerImage in QueueImpl::writeTexture
https://bugs.webkit.org/show_bug.cgi?id=261776
<radar://115746284>

Reviewed by Dan Glastonbury.

0 and 1 are incorrect here, we should use the default of WGPU_COPY_STRIDE_UNDEFINED
instead.

* Source/WebCore/Modules/WebGPU/Implementation/WebGPUQueueImpl.cpp:
(WebCore::WebGPU::QueueImpl::writeTexture):

* Source/WebGPU/WebGPU/Queue.mm:
(WebGPU::Queue::writeTexture):
Fall back to defaults when undefined constant is passed.

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




More information about the webkit-changes mailing list