gallium: add z24s8_as_r8g8b8a8 format

Graphics / Mesa 3D Graphics Library / Mesa - Rob Clark [chromium.org] - 15 June 2019 14:33 EDT

This maps to a special format that recent generations of adreno have, for blitting z24s8. Conceptually it is similar to doing Z and/or S blits by pretending it is r8g8b8a8 (with appropriate writemask). But it differs when bandwidth compression is used, as z24 is a different type from r8g8b8.

4c75d62ce86 gallium: add z24s8_as_r8g8b8a8 format
src/gallium/auxiliary/util/u_format.csv | 7 +++++++
src/gallium/drivers/svga/svga_format.c | 1 +
src/gallium/include/pipe/p_format.h | 2 ++
3 files changed, 10 insertions(+)

Upstream: cgit.freedesktop.org


  • Share