diff options
author | Bas Nieuwenhuizen <basni@chromium.org> | 2020-02-18 15:22:39 +0100 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-02-19 22:51:12 +0000 |
commit | 68d1757420be28e99e4e919ed2e0c6062e2460c5 (patch) | |
tree | 0b8b3446db45ae5e5860628fa1d5318ae2de2692 /README.rst | |
parent | d795eb207ff90e4885a278910fdc87e932242da6 (diff) | |
download | mesa-68d1757420be28e99e4e919ed2e0c6062e2460c5.tar.gz |
radeonsi: Fix compute copies for subsampled formats.
We cannot do image stores (or render) to subsampled formats.
Reinterpret as R32_UINT instead.
si_set_shader_image_desc already uses the blockwidth from
the view formats, so the image width adjustments are
already implemented.
This is still icky with mipmapping on GFX9+ though, but
since it is mostly a video format I don't think that will
be much of an issue and broken mipmapping is still better
than broken everything.
Fixes: e5167a9276d "radeonsi: disable SDMA on gfx8 to fix corruption on RX 580"
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2535
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3853>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3853>
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions