mesa/src
Paul Berry 672fab0b1b glsl/linker: Allow mixing of desktop GLSL versions.
Previously, Mesa followed the linkage rules outlined in the GLSL
1.20-1.40 specs, which (collectively) said that GLSL versions 1.10 and
1.20 could be linked together, but no other versions could be linked.

In GLSL 4.30, the linkage rules were relaxed so that any two desktop
GLSL versions can be linked together.  This change was made because it
reflected the behaviour of nearly all existing implementations (see
Khronos bug 8463).  Mesa was one of the few (perhaps the only)
exceptions to prohibit cross-linking of some GLSL versions.

Since the GLSL linkage rules were deliberately relaxed in order to
match the behaviour of existing implementations, it seems appropriate
to relax the rules in Mesa too (even though Mesa doesn't support GLSL
4.30 yet).

Note that linking ES and desktop shaders is still prohibited, as is
linking ES shaders having different GLSL versions.

Fixes piglit tests "shaders/version-mixing {interstage,intrastage}".

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-10-21 17:27:41 -07:00
..
egl egl_dri2: Set NativeVisualID to the matching GBM config for the gbm platform 2013-10-15 22:07:52 -07:00
gallium clover: Improve region and pitch argument handling in memory transfer APIs. 2013-10-21 10:47:04 -07:00
gbm gbm: Add support for gbm bos and surfaces using GBM_FORMAT_ARGB2101010 2013-10-15 22:07:52 -07:00
getopt
glsl glsl/linker: Allow mixing of desktop GLSL versions. 2013-10-21 17:27:41 -07:00
glx glx: Generate fewer errors in MakeContextCurrent 2013-10-08 13:24:20 -04:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi glapi: Add missing XML files to Makefile dependencies. 2013-10-16 20:49:43 -07:00
mesa radeon: Enable ARB_texture_mirror_clamp_to_edge. 2013-10-20 20:12:39 -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