gallium: add z24s8_as_r8g8b8a8 format
authorRob Clark <robdclark@chromium.org>
Wed, 12 Jun 2019 19:03:58 +0000 (12:03 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 15 Jun 2019 14:33:04 +0000 (07:33 -0700)
commit4c75d62ce863bf397d9db3c94ce7eb12f7aa9250
treed400dcfd08881a329ab440caabe7787d0f5087d4
parent1d75f525891efd6483404da6b4ae70784179db9c
gallium: add z24s8_as_r8g8b8a8 format

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.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@gmail.com>
src/gallium/auxiliary/util/u_format.csv
src/gallium/drivers/svga/svga_format.c
src/gallium/include/pipe/p_format.h