Add threshold to rasterization order depth checks
authorRicardo Garcia <rgarcia@igalia.com>
Mon, 23 May 2022 14:43:16 +0000 (16:43 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Sat, 4 Jun 2022 13:28:08 +0000 (13:28 +0000)
commit3a39741ff6e791d36d77e1c35899842083618651
tree056abb300f25e90d347f5a1014c0377086485fcb
parent6cebfab2dc481f23b77dcf4f6330113d69969ec2
Add threshold to rasterization order depth checks

These tests compared floating point depth values expecting exact
matches, which was causing trouble for some implementations. This commit
adds an error threshold to the check.

Affected tests:
dEQP-VK.rasterization.rasterization_order_attachment_access.depth.*

Components: Vulkan
VK-GL-CTS issue: 3711

Change-Id: If6798dfd473f57341775e83d68188e39bdf27caa
external/vulkancts/modules/vulkan/rasterization/vktRasterizationOrderAttachmentAccessTests.cpp