Use fill data that varies within 4 bytes boundaries
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 4 Oct 2017 15:34:16 +0000 (16:34 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 17 Oct 2017 08:04:56 +0000 (04:04 -0400)
commitd6d2111b0a3751e4b50050a5a458e36f6c211535
treeba7ba84ca1cd1e381023335d8c91b2e9e02484c1
parentf03b90114073b1204c1e585bbf4c56e4cfe2e92a
Use fill data that varies within 4 bytes boundaries

We found a driver issue in the Intel Mesa driver where we used
R8G8B8A8 format to fill buffers which means it was swizzling the bytes
of the data given through the vulkan API.

This changes fills the data with different values for every byte so we
can detect such issues.

VK-GL-CTS issue: 743

Affects: dEQP-VK.api.fill_and_update_buffer*
Components: Vulkan
Change-Id: Id8ac8958b443f7384e93a8fbe11bf49202332f7c
external/vulkancts/modules/vulkan/api/vktApiFillBufferTests.cpp