Allow RTE and RTZ for float16 derivative test
authorPeter Deayton <pdeayton@nvidia.com>
Thu, 15 Nov 2018 18:25:58 +0000 (10:25 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 29 Nov 2018 09:22:08 +0000 (04:22 -0500)
commitda0e4ccad8ed648886c57150bfa9ef9f114e6a4d
treef45ea77ac81322c21bdc12d03315786335b80031
parent1b0305a962840918818dc6cf3aa7471dee18bce4
Allow RTE and RTZ for float16 derivative test

The result of the test may not be representable exactly in a float16.
Allow both round to nearest even and round to zero as valid results.

Components: Vulkan

VK-GL-CTS issue: 1482

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative_*

Change-Id: I7add6f5fc0888897fbb374fb8e5576f7c1284bc3
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp