Fix denorm code for fp16-as-32 tests
authorGraeme Leese <gleese@broadcom.com>
Mon, 24 Jun 2019 14:35:12 +0000 (15:35 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Jun 2019 07:34:33 +0000 (03:34 -0400)
commitd1460de9750d0fc706de51f77229cbfa76c964ec
tree2eca734b6fbc595bccf1ef0abb6a5942c1638af2
parentec39917dc420fc9ebc254a5c4bae206412332b52
Fix denorm code for fp16-as-32 tests

The tests for 16-bit operations with 32-bit storage were attempting to
remove values that would become denormal in fp16 but they weren't doing
it properly.

Components: Vulkan
VK-GL-CTS issue: 1843
Affects: dEQP-VK.glsl.builtin.precision_fp16_storage32b.*

Change-Id: Idc08a2c75640dcc8f373b410e868ac07c37c2695
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinPrecisionTests.cpp