[webkit-changes] [WebKit/WebKit] bea525: [WebGPU] https://webgpu.github.io/webgpu-samples/?...
mwyrzykowski
noreply at github.com
Wed Mar 20 16:51:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bea525fcbf9e30266d4828e15da7aca0cc6f05e0
https://github.com/WebKit/WebKit/commit/bea525fcbf9e30266d4828e15da7aca0cc6f05e0
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-03-20 (Wed, 20 Mar 2024)
Changed paths:
M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
Log Message:
-----------
[WebGPU] https://webgpu.github.io/webgpu-samples/?sample=bundleCulling works without RenderBundles
https://bugs.webkit.org/show_bug.cgi?id=270861
<radar://124464349>
Reviewed by Tadeu Zagallo.
This patch fixes two issues:
(1) RenderBundles which used indirect dispatches did not work due to an early return.
(2) setViewport was not called for RenderBundles.
Both a relatively small changes.
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::drawIndexedIndirect):
(WebGPU::RenderBundleEncoder::drawIndirect):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::executeBundles):
Canonical link: https://commits.webkit.org/276431@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list