Fix heap read out of bounds in RenderPass tests.
authorCharles Johnston <Charles.Johnston@amd.com>
Thu, 7 Jan 2021 15:00:48 +0000 (10:00 -0500)
committerCharles Johnston <Charles.Johnston@amd.com>
Thu, 7 Jan 2021 15:04:29 +0000 (10:04 -0500)
commitb98be4b8af66a7e8d83abdaec9e13f6f7519bacf
treee968529b2ee17500ebc1fc86100a14edc6fd2eb5
parenta1f8be56e55f3ef77153ec501d59d648cf8e0870
Fix heap read out of bounds in RenderPass tests.

Pass the correct size of the buffer to uploadBufferData.

Affected tests:
dEQP-VK.renderpass*.attachment_allocation.*
dEQP-VK.renderpass*.suballocation.*

Components: Vulkan
VK-GL-CTS issue: 2708

Change-Id: Ib498be09f1c8437e8080c5b5f3a12d8b7a25a262
external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp