summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-05-10 01:01:58 +0100
committerDylan Baker <dylan@pnwbakers.com>2018-05-30 16:56:47 -0700
commit7366a91340578d5627a00eb39cb7273e38164ba8 (patch)
treec63f75665465eeea28603b47797cb4e4ff932c62
parente4b86e96e8e9195e4a4671b547d79d7cafe41467 (diff)
tgsi/scan: add hw atomic to the list of memory accessing files
This fixes 4 out of 5 cases in: arb_framebuffer_no_attachments-atomic on cayman. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Cc: "18.0 18.1" <mesa-stable@lists.freedesktop.org> (cherry picked from commit f2f464de576187891eeadb3e7fadf9ddbf322cba)
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index 18488d776e9..aeccb05b56b 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c
@@ -50,7 +50,8 @@ is_memory_file(unsigned file)
return file == TGSI_FILE_SAMPLER ||
file == TGSI_FILE_SAMPLER_VIEW ||
file == TGSI_FILE_IMAGE ||
- file == TGSI_FILE_BUFFER;
+ file == TGSI_FILE_BUFFER ||
+ file == TGSI_FILE_HW_ATOMIC;
}