Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bea525fcbf9e30266d4828e15da7aca0cc6f05e0
      
https://github.com/WebKit/WebKit/commit/bea525fcbf9e30266d4828e15da7aca0cc6f05e0
  Author: Mike Wyrzykowski <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to