Don't generate then squash subnormal numbers
authorGraeme Leese <gleese@broadcom.com>
Tue, 9 Jul 2019 10:10:51 +0000 (11:10 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 19 Jul 2019 14:06:24 +0000 (10:06 -0400)
commitff5706a1f70daadedbb018d2f9379e3beb156534
treee6d0964169eb7f237d6676f27403e74de82f56eb
parent73a4497ad1267b0fbf7cfb79485304e153077f47
Don't generate then squash subnormal numbers

The tests don't want subnormal numbers but were explicitly generating
them and then removing them again afterwards. For mediump tests values
the values that are subnormal in 16-bit float were not being removed
again causing issues on some implementations.

Components: Vulkan
Affects: dEQP-VK.glsl.builtin.precision_*

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