The pipeline timestamps test intends to copy the entire buffer contents
from source to destination, but the copy is done for 512 bytes, which
currently exceeds the size of the buffer, 256. That is not valid
behavior.
Components: Vulkan
Affects: dEQP-VK.pipeline.timestamp.transfer_tests.transfer_stage_with_copy_buffer_method
VK-GL-CTS Issue: 1535
Change-Id: I1ab1ef3a94f4d22702d37c86b6aa2c21c0919a7c
{
const VkBufferCopy copyBufRegion =
{
- 0u, // VkDeviceSize srcOffset;
- 0u, // VkDeviceSize destOffset;
- 512u, // VkDeviceSize copySize;
+ 0u, // VkDeviceSize srcOffset;
+ 0u, // VkDeviceSize destOffset;
+ m_bufSize, // VkDeviceSize copySize;
};
vk.cmdCopyBuffer(*m_cmdBuffer, *m_srcBuffer, *m_dstBuffer, 1u, ©BufRegion);
break;