summaryrefslogtreecommitdiffstats
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
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]>
-rw-r--r--docs/relnotes/19.2.0.html1
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/relnotes/19.2.0.html b/docs/relnotes/19.2.0.html
index ae273e64b6b..0ce4fb85c93 100644
--- a/docs/relnotes/19.2.0.html
+++ b/docs/relnotes/19.2.0.html
@@ -40,6 +40,7 @@ TBD.
<ul>
<li>GL_ARB_post_depth_coverage on radeonsi (Navi)</li>
+<li>GL_EXT_shader_image_load_store on radeonsi (with LLVM >= 10)</li>
<li>GL_EXT_shader_samples_identical on iris and radeonsi (if using NIR)</li>
<li>EGL_EXT_platform_device</li>
<li>VK_EXT_queue_family_foreign for radv</li>
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);