-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] Queue::commitMTLCommandBuffer will fail if command buffer wa…
…s already committed https://bugs.webkit.org/show_bug.cgi?id=264339 <radar://117851924> Reviewed by Tadeu Zagallo. Ensure that a command buffer doesn't get submitted twice and generate a validation error if we would attempt to do so. * Source/WebGPU/WebGPU/CommandBuffer.h: * Source/WebGPU/WebGPU/CommandBuffer.mm: (WebGPU::CommandBuffer::makeInvalid): * Source/WebGPU/WebGPU/Queue.h: * Source/WebGPU/WebGPU/Queue.mm: (WebGPU::Queue::validateSubmit const): (WebGPU::Queue::commitMTLCommandBuffer): (WebGPU::Queue::submit): (wgpuQueueSubmit): Canonical link: https://commits.webkit.org/270361@main
- Loading branch information
1 parent
3d7e86f
commit a965533
Showing
4 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters