summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-07-26 19:37:21 +0200
committerNicolai Hähnle <[email protected]>2017-08-02 09:49:09 +0200
commit78476cfe071af2ea565c60c5b3234091f39822ec (patch)
treeb7c812d16837743c53039df9ef1e9d633de1a80e
parent1c5b7d5235d2174c415928759c0fdacba31f2d28 (diff)
radeonsi: enable ARB_transform_feedback_overflow_query
v2: update for new cap name Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--docs/features.txt2
-rw-r--r--docs/relnotes/17.3.0.html2
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/features.txt b/docs/features.txt
index 2ac80e6d6e0..672a23e99b6 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -232,7 +232,7 @@ GL 4.6, GLSL 4.60
GL_ARB_shader_draw_parameters DONE (i965, nvc0, radeonsi)
GL_ARB_shader_group_vote DONE (i965, nvc0, radeonsi)
GL_ARB_texture_filter_anisotropic not started
- GL_ARB_transform_feedback_overflow_query DONE (i965/gen6+)
+ GL_ARB_transform_feedback_overflow_query DONE (i965/gen6+, radeonsi)
GL_KHR_no_error started (Timothy Arceri)
These are the extensions cherry-picked to make GLES 3.1
diff --git a/docs/relnotes/17.3.0.html b/docs/relnotes/17.3.0.html
index 335e40537c1..f86d1a30e2f 100644
--- a/docs/relnotes/17.3.0.html
+++ b/docs/relnotes/17.3.0.html
@@ -44,7 +44,7 @@ Note: some of the new features are only available with certain drivers.
</p>
<ul>
-TBD
+<li>GL_ARB_transform_feedback_overflow_query on radeonsi</li>
</ul>
<h2>Bug fixes</h2>
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 2904127eefb..67bc7bf4aec 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -514,6 +514,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_QUERY_TIMESTAMP:
case PIPE_CAP_QUERY_TIME_ELAPSED:
case PIPE_CAP_NIR_SAMPLERS_AS_DEREF:
+ case PIPE_CAP_QUERY_SO_OVERFLOW:
return 1;
case PIPE_CAP_INT64:
@@ -603,7 +604,6 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_UMA:
case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE:
case PIPE_CAP_POST_DEPTH_COVERAGE:
- case PIPE_CAP_QUERY_SO_OVERFLOW:
return 0;
case PIPE_CAP_QUERY_BUFFER_OBJECT: