Skip to content

Require that every submitted command buffer must be unique - #4593

Merged
kainino0x merged 1 commit into
mainfrom
duplicate-command-buffers
Apr 24, 2024
Merged

Require that every submitted command buffer must be unique#4593
kainino0x merged 1 commit into
mainfrom
duplicate-command-buffers

Conversation

@toji

@toji toji commented Apr 18, 2024

Copy link
Copy Markdown
Member

Fixes #4367

Requires that every command buffer in a single submit be unique.

There's a couple of other ways that this could be handled, but this feels the most elegant. It's worth noting that this scenario doesn't appear to be tested in the CTS and I suspect that implementations may not be handling it correctly either.

@toji
toji requested review from jimblandy and kainino0x April 18, 2024 22:11
@github-actions

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (f0c4b06):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

@kainino0x kainino0x added the tacit resolution queue Editors have agreed and intend to land if no feedback is given label Apr 24, 2024

@kainino0x kainino0x left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was definitely the intent (otherwise you can't record directly into Vulkan command buffers) but I'm adding tacit resolution queue as FYI to the WG.

@kainino0x
kainino0x merged commit 0f44589 into main Apr 24, 2024
@kainino0x
kainino0x deleted the duplicate-command-buffers branch April 24, 2024 03:26
@kainino0x kainino0x removed the tacit resolution queue Editors have agreed and intend to land if no feedback is given label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarification regarding the validation of GPUQueue.submit and submitting duplicate command buffers?

2 participants