aboutsummaryrefslogtreecommitdiff
path: root/layers/buffer_validation.cpp
diff options
context:
space:
mode:
authorWilliam Henning <whenning@google.com>2018-05-04 13:08:05 -0600
committerTobin Ehlis <tobine@google.com>2018-05-09 07:50:24 -0600
commitb6a72022dd1fdd58211ffdaa038e08920fee6d2d (patch)
treed12787cf6c843c70864077fd655fc6dfe8d4a5e2 /layers/buffer_validation.cpp
parent21f7f79ab1e0bf4d80626692dd53a95ebafe9334 (diff)
downloadusermoji-b6a72022dd1fdd58211ffdaa038e08920fee6d2d.tar.xz
tests: Fix min image transfer granularity test
This test as written was guaranteed to be skipped. It would skip the test if the first graphics queue family found had a minImageTransferGranularity with a width, height, or depth of less than 4. The spec guarantees that any graphics queue family's min transfer granularity will be 1 for the width, height, and depth. The rewritten test is now only skipped if no queue supporting copy operations is found with a large enough granularity. Also the usage flags on the src and dst image needed to be fixed. Additionally, the extent of the copies dst and src images were changed to always be multiples of the min transfer granularity. Finally, I added a device profile that has a queue with a large enough min transfer granularity to not skip this test.
Diffstat (limited to 'layers/buffer_validation.cpp')
0 files changed, 0 insertions, 0 deletions