Fix more 16bit denorms in precision tests
authorGraeme Leese <gleese@broadcom.com>
Thu, 27 Jun 2019 10:31:36 +0000 (11:31 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 5 Jul 2019 07:29:11 +0000 (03:29 -0400)
commit4b3c1eca1d8c11881a3dd4c0d7c950d1e7a33e39
treeeda98916e31b48e39cfa3a0445fe0d030994a1e6
parent1ba400208361b5eaf408c49514ce112ba6178c07
Fix more 16bit denorms in precision tests

The denorm code that was fixed in: https://gerrit.khronos.org/#/c/4135/
still persisted in a different function that I hadn't noticed. Update it
there as well.

Because this function is being called on fixed floats, rather than on
random ones, I don't think the brokenness of the old code will cause a
practical problem, but the new version is simpler and more correct, so
I've changed it anyway.

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

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