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

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Feb 20 20:49:42 UTC 2018

On 02/20/2018 09:45 PM, Marek Olšák wrote:
> 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.

Yeah, that makes sense.

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

More information about the mesa-dev mailing list