summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2017-01-20 09:53:27 -0800
committerKenneth Graunke <[email protected]>2017-02-21 16:28:32 -0800
commitd71e1f32c6c2a77eac4e494a5464d9ce2d87d711 (patch)
tree0e0bb96deffb0a131becd4c62b5a95a7d3c45cbb
parent924a1b90aa1b092917dcfdd8b76a74571cbfb1c8 (diff)
i965/gen6+: Enable arb_transform_feedback_overflow_query.
This extension adds new query types which can be used to detect overflow of transform feedback buffers. The new query types are also accepted by conditional rendering commands. v3: - s/gen7+/gen6+/ in the relnotes (Jordan Justen) Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--docs/features.txt2
-rw-r--r--docs/relnotes/17.1.0.html1
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/docs/features.txt b/docs/features.txt
index 01315a0a1c5..346ba289175 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 not started
+ GL_ARB_transform_feedback_overflow_query DONE (i965/gen6+)
GL_KHR_blend_equation_advanced_coherent DONE (i965/gen9+)
GL_KHR_no_error not started
GL_KHR_texture_compression_astc_hdr DONE (core only)
diff --git a/docs/relnotes/17.1.0.html b/docs/relnotes/17.1.0.html
index fd231ab9984..9ababccea6d 100644
--- a/docs/relnotes/17.1.0.html
+++ b/docs/relnotes/17.1.0.html
@@ -46,6 +46,7 @@ Note: some of the new features are only available with certain drivers.
<ul>
<li>GL_ARB_gpu_shader_int64 on i965/gen8+, nvc0, radeonsi, softpipe, llvmpipe</li>
<li>GL_ARB_transform_feedback2 on i965/gen6</li>
+<li>GL_ARB_transform_feedback_overflow_query on i965/gen6+</li>
</ul>
<h2>Bug fixes</h2>
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index ec7ff02be84..31842aa3b54 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -184,6 +184,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.EXT_framebuffer_multisample = true;
ctx->Extensions.EXT_framebuffer_multisample_blit_scaled = true;
ctx->Extensions.EXT_transform_feedback = true;
+ ctx->Extensions.ARB_transform_feedback_overflow_query = true;
ctx->Extensions.OES_depth_texture_cube_map = true;
ctx->Extensions.OES_sample_variables = true;