aco: Set GFX10 DLC bit properly.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 26 Sep 2019 15:53:17 +0000 (17:53 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Thu, 10 Oct 2019 07:57:53 +0000 (09:57 +0200)
commit1de9ef9c96c1933b20ba1877cad799794e10359d
tree9754da386c96ffc8f59ffce47e05049de766d4b6
parent89b074be8659f70f6f1b536605159b5f4870fb0d
aco: Set GFX10 DLC bit properly.

The DLC bit is now set to 1 for all loads when GLC is also set,
but cleared to 0 for all stores (otherwise it causes issues),
and also cleared to 0 for atomics.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/README
src/amd/compiler/aco_instruction_selection.cpp