From a2c87e23a1e832ef86563ec92535c989c4a129ad Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 6 Mar 2020 12:52:12 +0000 Subject: [PATCH] Set appropriate epsilon for A8 textures in texture zoo --- util/test/rdtest/shared/Texture_Zoo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/test/rdtest/shared/Texture_Zoo.py b/util/test/rdtest/shared/Texture_Zoo.py index 1c977b435..05f48012a 100644 --- a/util/test/rdtest/shared/Texture_Zoo.py +++ b/util/test/rdtest/shared/Texture_Zoo.py @@ -151,6 +151,8 @@ class Texture_Zoo(): eps = (eps_significand / 255.0) elif comp_type == rd.CompType.Depth and tex.format.compCount == 2: eps = (eps_significand / 255.0) # stencil is only 8-bit + elif tex.format.type == rd.ResourceFormatType.A8: + eps = (eps_significand / 255.0) elif tex.format.type == rd.ResourceFormatType.R10G10B10A2: eps = (eps_significand / 1023.0) else: