From 8b9694da4b5079bca76191678ad34e90651a5fca Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 2 May 2018 19:29:29 -0400 Subject: radeonsi: expose ARB_query_buffer_object on ancient kernels too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It doesn't use indirect dispatches. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_get.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gallium/drivers/radeonsi/si_get.c') diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 0e7d28e334c..3feb1ae7823 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -151,6 +151,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL: case PIPE_CAP_INVALIDATE_BUFFER: case PIPE_CAP_SURFACE_REINTERPRET_BLOCKS: + case PIPE_CAP_QUERY_BUFFER_OBJECT: case PIPE_CAP_QUERY_MEMORY_INFO: case PIPE_CAP_TGSI_PACK_HALF_FLOAT: case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT: @@ -283,9 +284,6 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_NATIVE_FENCE_FD: return sscreen->info.has_fence_to_handle; - case PIPE_CAP_QUERY_BUFFER_OBJECT: - return sscreen->info.has_indirect_compute_dispatch; - case PIPE_CAP_DRAW_PARAMETERS: case PIPE_CAP_MULTI_DRAW_INDIRECT: case PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS: -- cgit v1.2.3