summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-08-01 10:17:26 +0200
committerMarek Olšák <[email protected]>2019-08-06 17:41:07 -0400
commitf84c9ad17abfcfa66e9c0f0f23fdb387b29335e1 (patch)
treef2daccbe3891cdd2069162114a615f182fb9e2e6 /src/gallium
parent25fff591c1162a9c1158b0e69de3a6edf89f42d4 (diff)
radeonsi: enable EXT_shader_image_load_store
This depends on LLVM 10 because this needs https://reviews.llvm.org/D65283 Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index f0eed6df30b..c9895edafb8 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -339,6 +339,8 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return sscreen->info.pci_dev;
case PIPE_CAP_PCI_FUNCTION:
return sscreen->info.pci_func;
+ case PIPE_CAP_TGSI_ATOMINC_WRAP:
+ return HAVE_LLVM >= 0x1000;
default:
return u_pipe_screen_get_param_defaults(pscreen, param);