Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8eedb0d3365442a190b739eea869128c8354534d
https://github.com/WebKit/WebKit/commit/8eedb0d3365442a190b739eea869128c8354534d
Author: Mike Wyrzykowski <[email protected]>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M Source/WebGPU/WebGPU/Device.h
M Source/WebGPU/WebGPU/Device.mm
M Source/WebGPU/WebGPU/Queue.mm
Log Message:
-----------
[WebGPU] Queue should not automatically commit command buffers on user's
behalf, instead trigger device lost (275212)
https://bugs.webkit.org/show_bug.cgi?id=275212
<radar://129343583>
Reviewed by Dan Glastonbury.
Per https://github.com/gpuweb/gpuweb/issues/4622#issuecomment-2138423053, the
API
will allow for creation of up to 1000 GPUCommandEncoder and non-submitted
GPUCommandBuffer
instances.
Ideally we will advocate for minimal usage, but there was strong pushback to
setting a lower
limit. So we can inform developers that if they wish to obtain optimal
performance on
Apple's platforms, they should keep work in a command buffer in number of ms
and not less than
that with a large number of buffers.
* Source/WebGPU/WebGPU/Device.h:
* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Device::create):
* Source/WebGPU/WebGPU/Queue.mm:
(WebGPU::Queue::commandBufferWithDescriptor):
Canonical link: https://commits.webkit.org/279799@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