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, 1 Nov 2018 09:47:39 +0000 (05:47 -0400)
commit8dbff9d866aa838047c641a5eeab19381be3df4f
treea69d2a24d9a29a3e6693abd0cf492ff81f78c10f
parentd6ebd46eb4fb67956a7db9356f6818afc045fb4a
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
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsm16bitStorageTests.cpp