Mesa (8.0): mesa: update compute_version for GL3

Ian Romanick idr at kemper.freedesktop.org
Thu Jan 19 20:35:08 UTC 2012


Module: Mesa
Branch: 8.0
Commit: 33f5c3946d5e66bb932e2a51eb27b427a3bd1644
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33f5c3946d5e66bb932e2a51eb27b427a3bd1644

Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Jan 12 03:54:09 2012 +0100

mesa: update compute_version for GL3

only check ARB_fbo, add shader_texture_lod as a requirement

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit 5596db74117e56a58e16a61c34bc87d787bb24bb)

---

 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-commit mailing list