Some tests call VkCmdImageBlit with a 2D destination image and a region
with dstOffset[0].z=1, dstOffset[1].z=0.
The spec says that it should be the opposite.
Affects:
dEQP-VK.api.copy_and_blit.blit_image.simple_tests.mirror_xy_nearest
dEQP-VK.api.copy_and_blit.blit_image.simple_tests.mirror_y_nearest
Components: Vulkan
Fixes Vulkancts issue: #576
Change-Id: Iaa05f3b38cd46c39d313bd044b37535c112b77dd
defaultSourceLayer, // VkImageSubresourceLayers dstSubresource;
{
- {defaultSize, defaultSize, 1},
- {0, 0, 0}
+ {defaultSize, defaultSize, 0},
+ {0, 0, 1}
} // VkOffset3D dstOffset[2];
};
defaultSourceLayer, // VkImageSubresourceLayers dstSubresource;
{
- {0, defaultSize, 1},
- {defaultSize, 0, 0}
+ {0, defaultSize, 0},
+ {defaultSize, 0, 1}
} // VkOffset3D dstOffset[2];
};