[Mesa-dev] [PATCH 1/2] ac/nir: set the DA field when performing atomics on 3D images

Marek Olšák maraeo at gmail.com
Tue Feb 20 20:45:29 UTC 2018


On Tue, Feb 20, 2018 at 9:29 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> On VI, 3D images are considered as 2D arrays. RadeonSI sets DA for
> loads/stores/atomics and RADV only for loads/stores, so I guess there is a
> reason for that?

I don't really know why radeonsi sets DA=1 for 3D images on GFX9. I
guess the code was inherited from previous chips.

On VI and older, 3D images are bound as 2D arrays.

Marek


More information about the mesa-dev mailing list