graphicsdriver/metal: Do not need to wait until flushing at Sync

This commit is contained in:
Hajime Hoshi 2020-11-10 22:12:26 +09:00
parent 99b4a3096a
commit 5705dc79fb

View File

@ -863,7 +863,7 @@ func (i *Image) Sync() <-chan struct{} {
return i.sync return i.sync
} }
i.graphics.flushIfNeeded(true, false) i.graphics.flushIfNeeded(false, false)
// Calling SynchronizeTexture is ignored on iOS (see mtl.m), but it looks like committing BlitCommandEncoder // Calling SynchronizeTexture is ignored on iOS (see mtl.m), but it looks like committing BlitCommandEncoder
// is necessary (#1337). // is necessary (#1337).