Remove NaN from OpFOrd* and OpFUnord* tests
authorBoris Zanin <boris.zanin@mobica.com>
Wed, 17 Oct 2018 13:50:49 +0000 (15:50 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 24 Oct 2018 06:44:40 +0000 (02:44 -0400)
commit000e5e5b71561a9f4ff411219f034cb72879b56f
tree83c7e3b5e65b0569add9fdb444aeb118cf0bb83d
parent438c03a2a78aba3d75d7cce39917ec6332adf7f8
Remove NaN from OpFOrd* and OpFUnord* tests

Due to Vulkan specification enables NaNs to be unsupported
by implementation, the NaN values cannot be processed.

As it is quite complicated to remove NaNs from tested values
stream this fix just blocks their analysis.

Following instructions are not fully tested now:
 * OpFOrdEqual
 * OpFOrdGreaterThan
 * OpFOrdLessThan
 * OpFOrdGreaterThanEqual
 * OpFOrdLessThanEqual
 * OpFUnordEqual
 * OpFUnordGreaterThan
 * OpFUnordLessThan
 * OpFUnordGreaterThanEqual
 * OpFUnordLessThanEqual

Affected tests:
 * dEQP-VK.glsl.builtin.precision.comparison.mediump_compute.*
 * dEQP-VK.glsl.builtin.precision.comparison.highp_compute.*
 * dEQP-VK.glsl.builtin.precision_fp16_storage16b.comparison.compute.*
 * dEQP-VK.glsl.builtin.precision_fp16_storage32b.comparison.compute.*

Components: Vulkan

VK-GL-CTS issue: 1423

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