mesa: Make ARB_gpu_shader5 core-profile-only
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 10 Aug 2014 04:10:29 +0000 (16:10 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 14 Aug 2014 09:32:33 +0000 (21:32 +1200)
Requires GLSL 1.50 or higher, which we only support in the core profile.

V2: Fix broken alignment

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/extensions.c

index 4f322d0e22e009f2977b0adfb3aefc9e5a5506d3..ba26e46110ba39b078bb72d332e90523c66f3f78 100644 (file)
@@ -116,7 +116,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_framebuffer_object",                  o(ARB_framebuffer_object),                  GL,             2005 },
    { "GL_ARB_framebuffer_sRGB",                    o(EXT_framebuffer_sRGB),                    GL,             1998 },
    { "GL_ARB_get_program_binary",                  o(dummy_true),                              GL,             2010 },
-   { "GL_ARB_gpu_shader5",                         o(ARB_gpu_shader5),                         GL            2010 },
+   { "GL_ARB_gpu_shader5",                         o(ARB_gpu_shader5),                         GLC,            2010 },
    { "GL_ARB_half_float_pixel",                    o(dummy_true),                              GL,             2003 },
    { "GL_ARB_half_float_vertex",                   o(ARB_half_float_vertex),                   GL,             2008 },
    { "GL_ARB_instanced_arrays",                    o(ARB_instanced_arrays),                    GL,             2008 },