Properly align and pad vec16x2 values in UBO array
authorSlawomir Cygan <slawomir.cygan@intel.com>
Mon, 22 Oct 2018 15:12:11 +0000 (17:12 +0200)
committerAlexander Galazin <alexander.galazin@arm.com>
Fri, 23 Nov 2018 11:00:56 +0000 (12:00 +0100)
commitbd5df3fb6d20e5d30e6d8ad78a966ea30049618b
treedae07468a7e244109f1b34ba457d24bc83b4265f
parentc2dca900e3ae7186608c873126caed04d04d07d0
Properly align and pad vec16x2 values in UBO array

Each of vec16x2 element should be thightly packed, followed by padding.

Without this change the test was padding each float16 value.

Components: Vulkan

VK-GL-CTS Issue: 1436

Affects:
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.uniform_16_to_64.uniform_vector_float
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.uniform_float_16_to_64.uniform_vector_float*

Change-Id: I4405a96eb5a27cfd8bf362853b28d59f20cb2314
(cherry picked from commit 8dbff9d866aa838047c641a5eeab19381be3df4f)
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsm16bitStorageTests.cpp