Apply the same relaxed precision fix for interface_blocks.* to basic_type.*
authorJohn Corbally <john.corbally@arm.com>
Thu, 7 Nov 2019 16:01:18 +0000 (16:01 +0000)
committerJohn Corbally <john.corbally@arm.com>
Thu, 28 Nov 2019 11:02:47 +0000 (11:02 +0000)
commit6a7f3a233da2de85d6b33cfb442fbebac421fa95
treead6416aad1adb7941b675ba4dcc8893cfd7a87a1
parenta70010486481b94fdb655eed97ddbbca488999a8
Apply the same relaxed precision fix for interface_blocks.* to basic_type.*

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.basic_type.*

Components: Vulkan

VK-GL-CTS issue: 1818

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