Remove duplicated code from isinf/isnan tests
authorGraeme Leese <gleese@broadcom.com>
Tue, 11 Jun 2019 12:41:23 +0000 (13:41 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 30 Mar 2020 10:07:37 +0000 (06:07 -0400)
commit4574d7f24536921dcabe74e0840e133b7b6c002b
treeec4dc07d7d15982389b4a21f5170891e2199a88a
parenta92dfcdefe4bfef244822f267f2d9c3a601307eb
Remove duplicated code from isinf/isnan tests

Most of the checking code for IsNan and IsInf was written out twice,
once for each precision. Remove one of the copies.

Components: Vulkan
Affects: dEQP-VK.glsl.builtin.function.common.isinf.*
         dEQP-VK.glsl.builtin.function.common.isnan.*

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