Round up vertex buffer size to stride multiple to fix OOB attribute reads
authorNoah Fredriks <Noah.Fredriks@amd.com>
Fri, 3 Nov 2017 18:20:06 +0000 (14:20 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 10 Jan 2018 11:10:18 +0000 (06:10 -0500)
commit9daf3fd3e67ba30300449241edd8d729707f6154
tree40874fd3dccf214534bd50b9925f35ede43bcea3
parent25381bb21ab054f4317ae0eab06781d4c731ad65
Round up vertex buffer size to stride multiple to fix OOB attribute reads

Partial stride multiple vertex buffer elements are now considered OOB
to accomodate implementations that fetch stride-sized elements

Affects: dEQP-VK.texture.*

Components: Vulkan

VK-GL-CTS issue: 812

Change-Id: I72a2143146b4ea0d893d70d41b7ca2c84c34542a
(cherry picked from commit 50c0544ec8c2e99158bf8a375eacfc9baf364a91)
external/vulkancts/modules/vulkan/texture/vktTextureTestUtil.cpp