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>
Thu, 22 Nov 2018 10:38:24 +0000 (05:38 -0500)
commit4cb5a729915c25cc8516a9bb11cc114caa1df2c5
treed435fa89735cfdc11f25c7132334faf41ac85ad6
parente4d0608d9caa26045d8cadcc6425e3170bdf9503
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