mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-10 07:05:54 +00:00
Metal backend: do a Tick() on queue submit.
This commit is contained in:
parent
8c231b6990
commit
d0771f8dd5
@ -231,6 +231,7 @@ namespace backend { namespace metal {
|
||||
|
||||
void Queue::Submit(uint32_t numCommands, CommandBuffer* const* commands) {
|
||||
Device* device = ToBackend(GetDevice());
|
||||
device->Tick();
|
||||
id<MTLCommandBuffer> commandBuffer = device->GetPendingCommandBuffer();
|
||||
|
||||
for (uint32_t i = 0; i < numCommands; ++i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user