radeonsi: enable EXT_shader_image_load_store
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 1 Aug 2019 08:17:26 +0000 (10:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 6 Aug 2019 21:41:07 +0000 (17:41 -0400)
This depends on LLVM 10 because this needs https://reviews.llvm.org/D65283

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
docs/relnotes/19.2.0.html
src/gallium/drivers/radeonsi/si_get.c

index ae273e64b6b8382fd5d2c41a01b98665d690cb37..0ce4fb85c93297a545955c6cf83fa2046159f5a2 100644 (file)
@@ -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>
index f0eed6df30b58ce7b3822664d52c737306013d15..c9895edafb8d262d652bc268f4e5575646e0bc25 100644 (file)
@@ -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);