DescriptionAdd sync in vulkan when writing to linear texture
Since mapping memory of linear textures happens in real time and not via
a command buffer, we need to flush all work that access the texture
before uploading new data to it. Even if the texture is already in the
correct layout, General, we still need to make sure all work has been
finished.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1943333002
Committed: https://skia.googlesource.com/skia/+/bdf8811b3126ab08ccff08b5e647b80cae5bd087
Patch Set 1 #Patch Set 2 : always sync #Messages
Total messages: 8 (4 generated)
|