aboutsummaryrefslogtreecommitdiff
path: root/tests/vkrenderframework.cpp
diff options
context:
space:
mode:
authorJohn Zulauf <jzulauf@lunarg.com>2018-03-24 19:52:19 -0600
committerjzulauf-lunarg <32470354+jzulauf-lunarg@users.noreply.github.com>2018-03-30 08:44:28 -0600
commit1b33d5abb7d71915f0e98ad253178dfd4710b8ea (patch)
tree9cec493d68d4b89adee2df97611daeeb66edbb16 /tests/vkrenderframework.cpp
parent4de4b13bd8e96b84cb5ea56ed31a6c67c1e7a80c (diff)
downloadvulkan-validation-layers-1b33d5abb7d71915f0e98ad253178dfd4710b8ea.tar.gz
layers: Eliminate false positive on ownership xfer
Add logic that correctly ignores the src(dst)StageMask for barrier operations that are resource acquire(release) operations. When barrier operations transfer ownership they envitably run on two different queue families which may have incompatible capabilities. For release operations dstStageMask should be ignored. For acquire operations the srcStageMask should be. Note: this can only be done if *all* operations for a barrier command are of one type, as the *StageMasks are specified at the command level. Change-Id: I6c238ab121eaa1230e66716120d37204740408d6
Diffstat (limited to 'tests/vkrenderframework.cpp')
0 files changed, 0 insertions, 0 deletions