commit | bdf8811b3126ab08ccff08b5e647b80cae5bd087 | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Tue May 03 07:25:56 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue May 03 07:25:56 2016 -0700 |
tree | 72add527452f078cfdec55dcfdbf270d56159e51 | |
parent | 89d09a1f70280cd0317d8a8d4e8973e5fa43182c [diff] |
Add 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 Review-Url: https://codereview.chromium.org/1943333002