Test generating mipmaps with vkCmdBlitImage()
authorPaavo Pessi <paavo.pessi@siru.fi>
Fri, 25 Aug 2017 07:16:05 +0000 (10:16 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 7 Sep 2017 11:31:31 +0000 (07:31 -0400)
commit78a61d58b36ffba845a2dd5788cec0959aa0586e
tree90a992367a1fe58d4551f64cb36701767abfcb24
parent75bc5afcbeddef9465b8c5c54fcd76c4f6f165a5
Test generating mipmaps with vkCmdBlitImage()

Tests were added to verify that the typical use-case of generating
mipmap levels with vkCmdBlitImage() works for all supported
formats.

Tests in 'from_base_level' group use the base image as a source for all
mip levels and generate all mip levels with a single blit command.

Tests in 'from_previous_level' group use the previous mip level as a
source for the next mip level and generate each mip level with a
separate blit command with barriers between each blit.

New tests:

dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.generate_mipmaps.*
dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.all_formats.generate_mipmaps.*

Components: Vulkan

VK-GL-CTS issue: 85

Change-Id: I7a9a432b6ed838e4b97649bfae0e3445b2614256
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp
external/vulkancts/mustpass/1.0.3/vk-default.txt