blorp: Stop whacking Z24 depth to BGRA8
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 4 Dec 2019 02:25:19 +0000 (20:25 -0600)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 4 Jan 2020 20:25:54 +0000 (12:25 -0800)
commit4a1093005cf96d98fdbc23c031d1b1deac5ce37a
treec10c5cba5d682fd84bd1b098ac2be2844d27a83a
parenta597a64ae2d8ab4db6ddeaf2970c77ee7390abdf
blorp: Stop whacking Z24 depth to BGRA8

The shader code required to do this is int(sat(x) * UINT24_MAX) which
isn't really worth all the effort to avoid.  Doing the format
conversion, on the other hand, prevents us from sampling with HiZ which
is something that we very much want on gen8-9 where we can.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/blorp/blorp_blit.c