[Mesa-dev] [PATCH 13/13] radeonsi: enable ARB_transform_feedback_overflow_query

Nicolai Hähnle nhaehnle at gmail.com
Thu Jul 27 19:14:23 UTC 2017


From: Nicolai Hähnle <nicolai.haehnle at amd.com>

---
 docs/features.txt                      | 2 +-
 docs/relnotes/17.3.0.html              | 2 +-
 src/gallium/drivers/radeonsi/si_pipe.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/features.txt b/docs/features.txt
index 1f628e1..6c0c697 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -303,7 +303,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
   GL_ARB_sparse_texture2                                not started
   GL_ARB_sparse_texture_clamp                           not started
   GL_ARB_texture_filter_minmax                          not started
-  GL_ARB_transform_feedback_overflow_query              DONE (i965/gen6+)
+  GL_ARB_transform_feedback_overflow_query              DONE (i965/gen6+,radeonsi)
   GL_KHR_blend_equation_advanced_coherent               DONE (i965/gen9+)
   GL_KHR_no_error                                       started (Timothy Arceri)
   GL_KHR_texture_compression_astc_hdr                   DONE (i965/bxt)
diff --git a/docs/relnotes/17.3.0.html b/docs/relnotes/17.3.0.html
index 335e405..f86d1a3 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 458b218..1f890dc 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -511,6 +511,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 	case PIPE_CAP_BINDLESS_TEXTURE:
 	case PIPE_CAP_QUERY_TIMESTAMP:
 	case PIPE_CAP_QUERY_TIME_ELAPSED:
+	case PIPE_CAP_QUERY_SO_OVERFLOW_ANY:
 		return 1;
 
 	case PIPE_CAP_INT64:
@@ -598,7 +599,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_ANY:
 		return 0;
 
 	case PIPE_CAP_QUERY_BUFFER_OBJECT:
-- 
2.9.3



More information about the mesa-dev mailing list