summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stroyan <stroyan@google.com>2016-10-18 11:10:23 -0600
committerMike Stroyan <stroyan@google.com>2016-10-18 11:15:01 -0600
commit425b9ba94cd8c3a0533c260d930195334f97e638 (patch)
treef008868f93ce41f0cb8991a8c774abda34e54733
parent746da8ab2a40b2ce6db5a7747f786c64ee23f68b (diff)
tests: More portable CmdBlitImage format tests
Use mandatory VK_FORMAT_R8G8B8A8_SINT instead of BGRA.
-rw-r--r--tests/layer_validation_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index fbdc7471..9cbf1a2d 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -3787,7 +3787,7 @@ TEST_F(VkLayerTest, BlitImageFormats) {
VkImageObj dst_image(m_device);
dst_image.init(64, 64, VK_FORMAT_B8G8R8A8_UNORM, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_IMAGE_TILING_LINEAR, 0);
VkImageObj dst_image2(m_device);
- dst_image2.init(64, 64, VK_FORMAT_B8G8R8A8_SINT, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_IMAGE_TILING_LINEAR, 0);
+ dst_image2.init(64, 64, VK_FORMAT_R8G8B8A8_SINT, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_IMAGE_TILING_LINEAR, 0);
VkImageBlit blitRegion = {};
blitRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;