commit | 21dfa8e4864ad00e1d0b6ff671893c4229219a3a | [log] [tgz] |
---|---|---|
author | Jonathan Marek <jonathan@marek.ca> | Wed Sep 04 15:23:27 2019 -0400 |
committer | Jonathan Marek <jonathan@marek.ca> | Fri Sep 06 02:24:29 2019 +0000 |
tree | 15fb55dd427f07316df85b8c8e7e46db24d489db | |
parent | 88ca73bcd04582ad5e42507e53b3cdff96a87fbd [diff] |
freedreno/a2xx: fix depth gmem restore Use fd_gmem_restore_format() to avoid trying to use unsupported Z24S8/Z16 render formats for gmem restore. Also apply this change to gmem2mem so it doesn't depend on fd2_pipe2color working with depth formats. gmem2mem/mem2gmem also doesn't need to use the swap/swizzle, since dst/src formats are the same. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Rob Clark <robdclark@chromium.org>