mesa/src
Tom Stellard de1de88dfc clover: Link libclc before running any optimizations
This is required in order for clang to correctly handle the OpenCL C
barrier() builtin which has the following restrictions acording to
the OpenCL 1.1 Specification:

If barrier is inside a conditional statement, then all work-items must
enter the conditional if any work-item enters the conditional statement
and executes the barrier.

If barrier is inside a loop, all work-items must execute the barrier for
each iteration of the loop before any are allowed to continue execution
beyond the barrier.

By linking before otimizations, we can replace calls to barrier() with
calls to a target specific intrinsic which has the noduplicate attribute
This attribute prevents clang from performing optimizations which could
violate the above rules.

This attribute must be applied to the call instruction that invokes
the function, so it is not enough to add this attribute the barrier()
declaration.

As a bonus this will probably speed up compile times since we will no
longer need to run link-time optimizations.
2013-10-16 09:39:15 -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: Link libclc before running any optimizations 2013-10-16 09:39:15 -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: Add new GLSL 1.50 constants. 2013-10-15 11:34:30 -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 mesa: change glTexImage[23]DMultisample() internalformat to GLenum 2013-10-16 08:43:23 -06:00
mesa mesa: change glTexImage[23]DMultisample() internalformat to GLenum 2013-10-16 08:43:23 -06: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