You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
device.queue.submit([commandBuffer, commandBuffer]); // commandBuffer is submitted twice
since all the command buffers are checked in step (1) prior to making any individual command buffer invalid in step (2).
However it would seem that in step (2), if we fail to make the command buffer invalid for any reason, e.g., it was a duplicate, then we should also generate a validation error.
Can we clarify the behavior of submitting duplicate command buffers in a single call to GPUQueue.submit please?