Fix shader common function tests
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 2 May 2019 14:25:40 +0000 (16:25 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 13 May 2019 10:59:48 +0000 (06:59 -0400)
commite6ff9ecf375e12fc1ed3155c4cd0205dc9e68941
treebedb55bbf0912638f87a5980313c711f3791bb9e
parent86d718ba0406e00a43b8cb59fba80ea9945ad1cb
Fix shader common function tests

Shader common function tests were not correctly filling values on some
input buffers and not taking into account implementations may ignore the
sign of zeros when doing optimizations on the SPIR-V code.

Affected tests:
dEQP-VK.glsl.builtin.function.common.*

Components: Vulkan
VK-GL-CTS issue: 1359, 1762

Change-Id: Ic27a298e32f7e9e7a9c50ac340ee9d095f1559f9
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderCommonFunctionTests.cpp