Fix relaxed precision and no perspective dEQP tests
authorJohn Corbally <john.corbally@arm.com>
Wed, 2 Oct 2019 16:31:55 +0000 (17:31 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 11 Oct 2019 08:31:29 +0000 (04:31 -0400)
commit94ee505eaa8d2f1eaffb9ff71345a59a87b6bde7
tree1ad3de417e0416d47b1ffbeb3f7c0f225b16ef74
parentbac8df251bb6103d7844bfeacbb29bf14011b7cb
Fix relaxed precision and no perspective dEQP tests

In the RelaxedPrecision case, change epsilon to 2e-3 for a 16-bit float.
In the NoPerspective case, change epsilon to 3e-7 for a 32-bit float.

The epsilon is now relative to the correct value.

Affects:
dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.interface_blocks.*

Components: Vulkan

VK-GL-CTS issue: 1818

Change-Id: Id21382ce4b1cb58458ec3fb521630ab75e1910a3
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmCrossStageInterfaceTests.cpp