Reduce precision in depth clear precision check
commit9be2db1989357402859cb4e83ea0d40f01cdd2d4
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 2 Apr 2024 11:58:41 +0000 (2 13:58 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 19 Apr 2024 10:11:06 +0000 (19 10:11 +0000)
tree148d3c0b3e2b8d1808295684e082af5e2fad5e7c
parent7f40f35a34010675ccbdf5bc583920f0d10968e6
Reduce precision in depth clear precision check

For depth16 and depth24, let's reduce the precision of the float values
used as depth.

This makes the depth-clear-precision tests pass on rpi4 devices.

Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/899>
tests/general/depth-clear-precision-check.c