[webkit-changes] [WebKit/WebKit] 53375e: [WebGPU] WGPU_COPY_STRIDE_UNDEFINED is not handled...
mwyrzykowski
noreply at github.com
Mon Oct 23 13:58:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 53375e8efea77e409e62077ef412844bc974a637
https://github.com/WebKit/WebKit/commit/53375e8efea77e409e62077ef412844bc974a637
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-10-23 (Mon, 23 Oct 2023)
Changed paths:
M Source/WebGPU/WebGPU/RenderPipeline.mm
Log Message:
-----------
[WebGPU] WGPU_COPY_STRIDE_UNDEFINED is not handled in WGPUVertexBufferLayout
https://bugs.webkit.org/show_bug.cgi?id=263484
<radar://117285397>
Reviewed by Tadeu Zagallo.
WGPU_COPY_STRIDE_UNDEFINED should be handled since the buffers can be
null per the idl file, but the only reason we failed to create a buffer
in this CTS test was due to the switch statement values being incorrect.
So this patch also corrects the switch statement values to avoid the null
buffer creation.
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::vertexFormat):
(WebGPU::createVertexDescriptor):
Canonical link: https://commits.webkit.org/269665@main
More information about the webkit-changes
mailing list