Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Issue 2298483002: Always add a barrier when old layout was general in vulkan. (Closed)

Created:
4 years, 3 months ago by egdaniel
Modified:
4 years, 3 months ago
Reviewers:
jvanverth1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Always add a barrier when old layout was general in vulkan. When we have a general layout, we need to always add a barrier even if leaving the layout in general since we don't know what the use case for general was with the old layout. This doesn't seem to fix any of our synchronization issues which makes sense since we don't really use a general layout much. The only place it is used is for mipmap generation, but then we add explicit barriers in that function itself and the first use of the image after mipmap generation will change the layout to something other than general, usually SHADER_READ. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2298483002 Committed: https://skia.googlesource.com/skia/+/19ff1035d3334ffa513c93edce04662bb5ead5bd

Patch Set 1 #

Patch Set 2 : fix equality #

Patch Set 3 : add more flags for general #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M src/gpu/vk/GrVkImage.cpp View 1 1 chunk +6 lines, -3 lines 0 comments Download
M src/gpu/vk/GrVkMemory.cpp View 1 2 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
egdaniel
4 years, 3 months ago (2016-08-30 19:50:03 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2298483002/20001
4 years, 3 months ago (2016-08-30 19:50:18 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 3 months ago (2016-08-30 19:50:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2298483002/40001
4 years, 3 months ago (2016-08-30 20:24:30 UTC) #9
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 3 months ago (2016-08-30 20:24:31 UTC) #10
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Please ask for an LGTM from a full ...
4 years, 3 months ago (2016-08-31 02:24:29 UTC) #12
egdaniel
ping
4 years, 3 months ago (2016-08-31 13:04:33 UTC) #13
jvanverth1
lgtm
4 years, 3 months ago (2016-08-31 17:07:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2298483002/40001
4 years, 3 months ago (2016-08-31 17:12:19 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 17:13:12 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/19ff1035d3334ffa513c93edce04662bb5ead5bd

Powered by Google App Engine
This is Rietveld 408576698