[Mesa-dev] [PATCH v4 6/6] i965/gen6+: Enable arb_transform_feedback_overflow_query.

Rafael Antognolli rafael.antognolli at intel.com
Fri Jan 20 17:53:54 UTC 2017


On Fri, Jan 20, 2017 at 09:53:27AM -0800, Rafael Antognolli wrote:
> 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 <rafael.antognolli at intel.com>
> ---
>  docs/features.txt                            | 2 +-
>  docs/relnotes/17.0.0.html                    | 1 +
>  src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
>  3 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/docs/features.txt b/docs/features.txt
> index aff0016..ef3534b 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.0.0.html b/docs/relnotes/17.0.0.html
> index 71fb4c3..ae77b88 100644
> --- a/docs/relnotes/17.0.0.html
> +++ b/docs/relnotes/17.0.0.html
> @@ -45,6 +45,7 @@ Note: some of the new features are only available with certain drivers.
>  
>  <ul>
>  <li>GL_ARB_post_depth_coverage on i965/gen9+</li>
> +<li>GL_ARB_transform_feedback_overflow_query on i965/gen6+</li>

Ugh, I guess this is not the right file anymore. Please ignore it, I'll
fix on a next patch once I get more reviews.

Rafael

>  <li>GL_KHR_blend_equation_advanced on nvc0</li>
>  <li>GL_INTEL_conservative_rasterization on i965/gen9+</li>
>  <li>GL_NV_image_formats on any driver supporting GL_ARB_shader_image_load_store (i965, nvc0, radeonsi, softpipe)</li>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index b674b2f..e516fd6 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -181,6 +181,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;
>  
> -- 
> 2.7.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list