mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
pan/format: Fix the mapping for Z32_FLOAT on v7+
Mapping Z32_FLOAT to R32F works fine until we start using AFBC(Z32), which triggers DATA_INVALID faults. That's not an issue on v9+ because the compression mode and texture format are decorrelated, but we need this change if we want to support AFBC(Z32) on v7. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37158>
This commit is contained in:
parent
bff39c4f25
commit
42b90f858e
1 changed files with 1 additions and 1 deletions
|
|
@ -552,7 +552,7 @@ const struct pan_format GENX(pan_pipe_format)[PIPE_FORMAT_COUNT] = {
|
|||
FMT(Z16_UNORM, Z16_UNORM, RGBA, L, _T_Z_),
|
||||
FMT(Z24_UNORM_S8_UINT, Z24X8_UNORM, RGBA, L, _T_Z_),
|
||||
FMT(Z24X8_UNORM, Z24X8_UNORM, RGBA, L, _T_Z_),
|
||||
FMT(Z32_FLOAT, R32F, RGBA, L, _T_Z_),
|
||||
FMT(Z32_FLOAT, Z32, RGBA, L, _T_Z_),
|
||||
|
||||
#if PAN_ARCH >= 9
|
||||
/* Specify interchange formats, the actual format for depth/stencil is
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue