mesa/src
Carl Worth 285c9392ad glsl/glcpp: Add (non)-support for ++ and -- operators
These operators aren't defined for preprocessor expressions, so we never
implemented them. This led them to be misinterpreted as strings of unary
'+' or '-' operators.

In fact, what is actually desired is to generate an error if these operators
appear in any preprocessor condition.

So this commit looks like it is strictly adding support for these
operators. And it is supporting them as far as passing them through to the
subsequent compiler, (which was already happening anyway).

What's less apparent in the commit is that with these tokens now being lexed,
but with no change to the grammar for preprocessor expressions, these
operators will now trigger errors there.

A new "make check" test is added to verify the desired behavior.

This commit fixes the following Khronos GLES3 CTS test:

	invalid_op_1_vertex
	invalid_op_1_fragment
	invalid_op_2_vertex
	invalid_op_2_fragment

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2014-07-29 15:11:50 -07:00
..
egl egl: Remove unused variable dri_driver_path. 2014-06-17 10:18:12 -07:00
gallium os_process.c: Add cygwin as an expected platform 2014-07-29 17:53:08 +01:00
gbm gbm: Search LIBGL_DRIVERS_PATH if GBM_DRIVERS_PATH is not set 2014-07-24 23:15:06 -07:00
getopt
glsl glsl/glcpp: Add (non)-support for ++ and -- operators 2014-07-29 15:11:50 -07:00
glx glx/dri3: add GPU offloading support. 2014-07-01 13:07:52 +10:00
gtest
hgl
loader mesa: fix the condition in src/loader/Makefile.am 2014-07-01 09:42:44 -06:00
mapi glapi: add indexed blend functions (GL 4.0) 2014-07-28 16:26:27 -07:00
mesa main/get_hash_params: Add GL_SAMPLE_SHADING_ARB 2014-07-29 10:50:38 -07:00
Makefile.am loader: Use drirc device_id parameter in complement to DRI_PRIME 2014-07-01 13:07:40 +10:00
SConscript