From 83f97cd0be0cb162a1be8dec122ff596b9ff96c7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 7 Nov 2019 13:27:04 -0800 Subject: [PATCH] mesa: Drop incorrect statement about Z unpack behavior. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We pass z32f pixels through without clamping, as one would expect. Reviewed-by: Marek Olšák Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/mesa/main/format_unpack.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mesa/main/format_unpack.py b/src/mesa/main/format_unpack.py index 161a4021567..a17a6354f6a 100644 --- a/src/mesa/main/format_unpack.py +++ b/src/mesa/main/format_unpack.py @@ -516,10 +516,6 @@ unpack_float_z_Z32X24S8(uint32_t n, const void *src, float *dst) -/** - * Unpack Z values. - * The returned values will always be in the range [0.0, 1.0]. - */ void _mesa_unpack_float_z_row(mesa_format format, uint32_t n, const void *src, float *dst)