Allow float16 max value for result larger than max
authorPeter Deayton <pdeayton@nvidia.com>
Thu, 15 Nov 2018 18:26:37 +0000 (10:26 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 29 Nov 2018 09:24:40 +0000 (04:24 -0500)
commitd0688084d5fc0c627dad424a294d4e35ab960eb6
treef48a770ec6439b4c04a563cea69ac94e3eff583e
parentda0e4ccad8ed648886c57150bfa9ef9f114e6a4d
Allow float16 max value for result larger than max

Numbers larger than the maximum representable float16 value may round to
infinity for RTE rounding mode, or to the maximum representable value
65504 (0x7bff) for RTZ rounding mode.

Components: Vulkan

VK-GL-CTS issue: 1483

Affects:
dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_*
dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic_*

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