mesa: Add format/type matching for DEPTH/UINT_24_8.
authorEric Anholt <eric@anholt.net>
Wed, 18 Sep 2019 21:27:51 +0000 (14:27 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 17 Oct 2019 21:07:29 +0000 (21:07 +0000)
commit4f4fc7535787e4a1006051611f573dc6d5eae741
tree9c63b0e21a7accc97acebb84369dfc9522698920
parent7be72b24f50f71257453e14cc30d33cd45fae21e
mesa: Add format/type matching for DEPTH/UINT_24_8.

We had missed this case where GLES3 allows glReadPixels(DEPTH, UINT_24_8),
and just got lucky by the readpixels path never asking for the matching
format from this function.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/glformats.c