mesa/src/compiler
Matt Turner 0201fc95e7 glcpp: Handle bison-3.6 error message changes
In bison's commit 72c9fa4510eb (skeletons: use "end of file" instead of
"$end") in bison-3.6, '$end' was changed to 'end of file' in error
messages. Since our glcpp test cases contain the expected output text,
they rely on the particular messages printed by bison. The test case
084-unbalanced-parentheses fails when Mesa is built with bison-3.6 due
to this change.

To allow the test to pass on all supported versions of bison, we:

   1. Change '$end' -> 'end of file' in the .expected file, and
   2. Normalize the error generated by the test case with the same
      replacement

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3181
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7659>
(cherry picked from commit df29d0a111)
2020-11-19 10:11:06 -08:00
..
glsl glcpp: Handle bison-3.6 error message changes 2020-11-19 10:11:06 -08:00
nir nir: handle float atomics in copy propagation pass 2020-11-13 10:05:39 -08:00
spirv spirv: Add support for SPV_EXT_shader_image_atomic_int64 2020-11-09 17:17:40 +00:00
Android.glsl.gen.mk android: util: Move xxd.py to util 2020-10-11 23:22:34 +02:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk
Android.nir.gen.mk android: fix SPIR-V -> NIR build 2020-10-12 22:26:05 +00:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.cpp compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.h nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
Makefile.sources nir: add pass to optimize uniform atomics 2020-10-13 12:47:21 +00:00
meson.build spirv: add some tests for volatile/available/visible 2020-09-01 17:15:22 +00:00
nir_types.cpp nir/glsl: add a glsl_ivec4_type() helper 2020-10-13 21:21:32 +00:00
nir_types.h nir/glsl: add a glsl_ivec4_type() helper 2020-10-13 21:21:32 +00:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl util: Move xxd.py to util 2020-10-07 21:52:04 +00:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv scons: fix SPIR-V -> NIR build 2020-10-13 16:53:10 +01:00
shader_enums.c spirv,nir: Add support for ray-tracing built-ins 2020-11-05 23:36:46 +00:00
shader_enums.h nir: Add new variable modes for ray-tracing 2020-11-05 23:36:46 +00:00
shader_info.h spirv: Add support for SPV_EXT_shader_image_atomic_int64 2020-11-09 17:17:40 +00:00