[Mesa-dev] [PATCH] mesa: update compute_version for GL3

Ian Romanick idr at freedesktop.org
Sat Jan 14 00:03:43 PST 2012


On 01/11/2012 07:03 PM, Marek Olšák wrote:
> only check ARB_fbo, add shader_texture_lod as a requirement

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

> ---
>   src/mesa/main/version.c |    6 ++----
>   1 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
> index 49cdc30..38ae1ce 100644
> --- a/src/mesa/main/version.c
> +++ b/src/mesa/main/version.c
> @@ -130,16 +130,14 @@ compute_version(struct gl_context *ctx)
>                                 ctx->Extensions.ARB_half_float_pixel&&
>                                 ctx->Extensions.ARB_half_float_vertex&&
>                                 ctx->Extensions.ARB_map_buffer_range&&
> +                              ctx->Extensions.ARB_shader_texture_lod&&
>                                 ctx->Extensions.ARB_texture_float&&
>                                 ctx->Extensions.ARB_texture_rg&&
>                                 ctx->Extensions.ARB_texture_compression_rgtc&&
>                                 ctx->Extensions.APPLE_vertex_array_object&&
>                                 ctx->Extensions.EXT_draw_buffers2&&
> -                              ctx->Extensions.EXT_framebuffer_blit&&
> -                              ctx->Extensions.EXT_framebuffer_multisample&&
> -                              ctx->Extensions.EXT_framebuffer_object&&
> +                              ctx->Extensions.ARB_framebuffer_object&&
>                                 ctx->Extensions.EXT_framebuffer_sRGB&&
> -                              ctx->Extensions.EXT_packed_depth_stencil&&
>                                 ctx->Extensions.EXT_packed_float&&
>                                 ctx->Extensions.EXT_texture_array&&
>                                 ctx->Extensions.EXT_texture_integer&&



More information about the mesa-dev mailing list