Mesa (master): mesa: expose AMD_vertex_shader_layer in the core profile only

Marek Olšák mareko at kemper.freedesktop.org
Tue Dec 3 18:40:55 UTC 2013


Module: Mesa
Branch: master
Commit: 0b3b901cff24392e7bceb17546db2754331d8429
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b3b901cff24392e7bceb17546db2754331d8429

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Nov 21 15:26:25 2013 +0100

mesa: expose AMD_vertex_shader_layer in the core profile only

It needs glFramebufferTexture, which isn't available in the compatibility
profile.

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

---

 src/mesa/main/extensions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 42da905..373cc76 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -302,7 +302,7 @@ static const struct extension extension_table[] = {
    { "GL_AMD_performance_monitor",                 o(AMD_performance_monitor),                 GL,             2007 },
    { "GL_AMD_seamless_cubemap_per_texture",        o(AMD_seamless_cubemap_per_texture),        GL,             2009 },
    { "GL_AMD_shader_stencil_export",               o(ARB_shader_stencil_export),               GL,             2009 },
-   { "GL_AMD_vertex_shader_layer",                 o(AMD_vertex_shader_layer),                 GL,             2012 },
+   { "GL_AMD_vertex_shader_layer",                 o(AMD_vertex_shader_layer),                 GLC,            2012 },
    { "GL_APPLE_object_purgeable",                  o(APPLE_object_purgeable),                  GL,             2006 },
    { "GL_APPLE_packed_pixels",                     o(dummy_true),                              GLL,            2002 },
    { "GL_APPLE_texture_max_level",                 o(dummy_true),                                   ES1 | ES2, 2009 },




More information about the mesa-commit mailing list