Fix for api.buffer_marker memory map failure
authorReid Yeager <ryeager@nvidia.com>
Wed, 1 Feb 2023 21:33:04 +0000 (21:33 +0000)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 2 Feb 2023 16:51:28 +0000 (16:51 +0000)
commit40e77d6f7e184ab2473191b77d6c827184cb1b63
treef696c1f43359516a3bd9b59e080e3db466d3d6eb
parent8c217e3c35b1dc8c8546dff164fa728efbfcc559
Fix for api.buffer_marker memory map failure

Fixes the VK_ERROR_MEMORY_MAP_FAILED error when constructing a HostPtr
in some api.buffer_marker cases
No longer passing whole-buffer size to memory map with offset

Affects: dEQP-VK.api.buffer_marker.*
VK-GL-CTS issue: 4264
Components: Vulkan

Change-Id: I56faa6e44acb3e55932bbb3f8e74109b177d17f4
external/vulkancts/framework/vulkan/vkMemUtil.cpp