diff options
author | Marek Olšák <[email protected]> | 2018-05-02 19:29:29 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-10 18:40:04 -0400 |
commit | 8b9694da4b5079bca76191678ad34e90651a5fca (patch) | |
tree | 60e194acbbc9a1acd961e6e8f9ab8ffe3a1a0d8f | |
parent | e9c08bc658543d3bc5f3907f571920ae5c736e12 (diff) |
radeonsi: expose ARB_query_buffer_object on ancient kernels too
It doesn't use indirect dispatches.
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 4 |
1 files changed, 1 insertions, 3 deletions
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: |