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>
Fri, 10 Nov 2017 11:15:19 +0000 (06:15 -0500)
commit50c0544ec8c2e99158bf8a375eacfc9baf364a91
tree5005bf761d96dffba6f42fb6208584ccb4ecbfdf
parent39a3dba45084e984fddcc91bde0f16e6b8fcaf0c
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
external/vulkancts/modules/vulkan/texture/vktTextureTestUtil.cpp