freedreno/a6xx: fix Z24_UNORM_S8_UINT_AS_R8G8B8A8
authorJonathan Marek <jonathan@marek.ca>
Wed, 12 Feb 2020 23:40:57 +0000 (18:40 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 13 Feb 2020 18:13:55 +0000 (18:13 +0000)
CI didn't run so missed this.

Note previously had :
   texfmt = TFMT6_Z24_UNORM_S8_UINT
   rbfmt = RB6_Z24_UNORM_S8_UINT_AS_R8G8B8A8

which are both now FMT6_Z24_UNORM_S8_UINT_AS_R8G8B8A8

Fixes: 18786cc7d55 ("freedreno/a6xx: use single format enum")
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3804>

src/gallium/drivers/freedreno/a6xx/fd6_format.c

index 0c6d79b71b248891ba5c69c001c3fa88c1f521cb..f84313545023541fd4308df851b17c701973f330 100644 (file)
@@ -207,7 +207,7 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = {
        _TC(X32_S8X24_UINT,       8_UINT,            WZYX),
 
        /* special format for blits: */
-       _TC(Z24_UNORM_S8_UINT_AS_R8G8B8A8, Z24_UNORM_S8_UINT, WZYX),
+       _TC(Z24_UNORM_S8_UINT_AS_R8G8B8A8, Z24_UNORM_S8_UINT_AS_R8G8B8A8, WZYX),
 
        /* 48-bit */
        V__(R16G16B16_UNORM,   16_16_16_UNORM,       WZYX),