diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_get.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 2 |
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); |