mesa: Add and use _mesa_has_depth_float_channel
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 5 Nov 2020 23:45:44 +0000 (15:45 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 13 Nov 2020 18:41:53 +0000 (18:41 +0000)
commitfda015023af5d0d2d844d5fde07a8c19e4d8f453
tree96b44f7edc410c91774b8555a30d7a5bad26753d
parentbf5cea7232f9ee2934c212211ebefb6fe766526d
mesa: Add and use _mesa_has_depth_float_channel

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7410>
src/mesa/main/glformats.c
src/mesa/main/glformats.h
src/mesa/main/readpix.c