mesa/src
Kenneth Graunke e4af55c78f glsl: Create and use a has_explicit_attrib_location() helper.
Explicit attribute locations are supported with GLSL 3.30, GLSL ES 3.00,
or "#extension GL_ARB_explicit_attrib_location: enable".  Using a helper
function makes it easy to check for this.

This enables support in GLSL 3.30, which was previously missing.

Previously, we overrode the extension enable flag for ES 3.00.  This is
not robust against a shader such as:

   #version 330
   #extension GL_ARB_explicit_attrib_location : disable

Disabling extensions should not remove core language functionality.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2013-09-26 16:55:18 -07:00
..
egl glx: fix compile error in egl_glx.c. 2013-09-19 10:49:47 -07:00
gallium draw/clip: don't emit so many empty triangles 2013-09-25 19:42:22 -04:00
gbm gbm: Link to libwayland-drm if Wayland EGL platform is enabled 2013-08-12 15:16:22 -07:00
getopt
glsl glsl: Create and use a has_explicit_attrib_location() helper. 2013-09-26 16:55:18 -07:00
glx glx: Initialize OpenGL version to 1.0 2013-09-04 16:07:21 -07:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi glapi: Move declaration before code. 2013-09-23 14:14:32 -07:00
mesa mesa: Remove 'invalidate_state' parameter to _mesa_dirty_texobj(). 2013-09-26 16:55:18 -07:00
Makefile.am gbm: Link to libwayland-drm if Wayland EGL platform is enabled 2013-08-12 15:16:22 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00