I'd enable this if at least GLSL 1.30 was supported. I think drivers like r300, nv30, i915, and svga shouldn't get this.
Marek On Fri, Apr 24, 2015 at 3:42 AM, Dave Airlie <airl...@gmail.com> wrote: > From: Dave Airlie <airl...@redhat.com> > > I'm not sure if we shouldn't enable this everywhere > and rip out the API checks, > > discuss, > > Signed-off-by: Dave Airlie <airl...@redhat.com> > --- > src/mesa/state_tracker/st_extensions.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/mesa/state_tracker/st_extensions.c > b/src/mesa/state_tracker/st_extensions.c > index 25932dd..d22fc4f 100644 > --- a/src/mesa/state_tracker/st_extensions.c > +++ b/src/mesa/state_tracker/st_extensions.c > @@ -598,6 +598,7 @@ void st_init_extensions(struct pipe_screen *screen, > extensions->ARB_half_float_vertex = GL_TRUE; > extensions->ARB_internalformat_query = GL_TRUE; > extensions->ARB_map_buffer_range = GL_TRUE; > + extensions->ARB_shader_subroutine = GL_TRUE; > extensions->ARB_texture_border_clamp = GL_TRUE; /* XXX temp */ > extensions->ARB_texture_cube_map = GL_TRUE; > extensions->ARB_texture_env_combine = GL_TRUE; > -- > 2.1.0 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev