summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-05-10 01:01:58 +0100
committerDave Airlie <[email protected]>2018-05-23 03:51:40 +0100
commitf2f464de576187891eeadb3e7fadf9ddbf322cba (patch)
tree4608687b075a69e17d6e261420d16dbd488c3da5 /src/gallium/auxiliary
parent7b89fcec416ed7e6ddadec2438aab63609d825f8 (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 <[email protected]> Cc: "18.0 18.1" <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-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 685a413c4e6..e13500a7f7b 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;
}