Add OpFConvert precision tests
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 11 Oct 2019 12:28:30 +0000 (14:28 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 25 Oct 2019 14:45:13 +0000 (10:45 -0400)
commitcccc781da04be623232b3fc41a247b0bd8a2463e
tree96e8e4b4579290b9c1fe153589fd398a8a63c378
parent6278a98911b1d1dfda90f3cd86baca8241d6a942
Add OpFConvert precision tests

This commit adds tests to verify OpFConvert works as expected to convert
to and from 16, 32 and 64-bit wide floats in scalar and vector forms.

It does not use the existing precision tests framework due to the strict
precision requirements of OpFConvert, which require knowing the original
number exactly and are not suited for working with intervals.

New tests:
dEQP-VK.glsl.builtin.precision_fconvert.*

Components: Vulkan, Framework
VK-GL-CTS issue: 1868

Change-Id: I4161dae9d9f2c494cc873d5d11b40286bdfb6466
AndroidGen.mk
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/image/vktImageTranscodingSupportTests.cpp
external/vulkancts/modules/vulkan/shaderexecutor/CMakeLists.txt
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderBuiltinTests.cpp
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderFConvertTests.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderFConvertTests.hpp [new file with mode: 0644]
external/vulkancts/mustpass/master/vk-default-no-waivers.txt
external/vulkancts/mustpass/master/vk-default.txt
framework/common/tcuFloat.hpp