mesa/src
Carl Worth c0127c30dd glsl/glcpp: Fix NULL directives when followed by a single-line comment
This is the fix for the following line:

	#  // comment to ignore here

According to the translation-phase rules, the comment should be removed before
the preprocessor looks to interpret the null directive.

So in our implementation we must explicitly look for single-line comments in
the <HASH> start condition as well.

This commit fixes the following Khronos GLES3 CTS tests:

	null_directive_vertex
	null_directive_fragment

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2014-08-07 16:08:29 -07:00
..
egl egl: Fix OpenGL ES version checks in _eglParseContextAttribList() 2014-08-04 18:31:26 -07:00
gallium draw: fix clipvertex trouble if position comes from gs 2014-08-06 18:01:33 +02:00
gbm gbm: Log at least one dlerror() when we fail to open any drivers. 2014-07-30 22:31:30 -07:00
getopt
glsl glsl/glcpp: Fix NULL directives when followed by a single-line comment 2014-08-07 16:08:29 -07:00
glx glx/dri3: add GPU offloading support. 2014-07-01 13:07:52 +10:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader util: Gather some common macros 2014-08-04 11:07:10 -07:00
mapi glapi: Do not use backtrace on DragonFly. 2014-07-30 21:48:09 -07:00
mesa i965/vec4: Remove unused emit_bool_comparison method. 2014-08-07 16:00:24 -07:00
util util/tests/hash_table: Link against libmesautil instead of libmesa 2014-08-05 10:52:48 -07:00
Makefile.am src/Makefile.am: Move gtest before util 2014-08-04 13:21:08 -07:00
SConscript util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00