Fix incorrect buffer type in some protected memory tests
Certain Vulkan tests, such as
dEQP-VK.protected_memory.buffer.fill.<type>_buffer.*, create a BufferView with
a format that is always set to VK_FORMAT_R32G32B32A32_UINT, independently of
the actual test type (float_buffer, integer_buffer, unsigned_buffer). Reading
floats from an integer BufferView may return incorrect values on some
implementations.
This patch propagates a VkFormat parameter so that each test can create a
BufferView with the appropriate format.
Components: Vulkan
Affects:
- dEQP-VK.protected_memory.buffer.copy.*
- dEQP-VK.protected_memory.buffer.fill.*
- dEQP-VK.protected_memory.buffer.update.*
VK-GL-CTS Issue: 2551
Change-Id: I1e79ae2761a028025148c3a63775a0d464278285