mesa/src/compiler
Thomas Helland e7220d2c22 glcpp: Use string_buffer for line continuation removal
Migrate removal of line continuations to string_buffer. Before this
it used ralloc_strncat() to append strings, which internally
each time calculates strlen() of its argument. Its argument is
entire shader, so it multiple time scans the whole shader text.

Signed-off-by: Vladislav Egorov <vegorov180@gmail.com>
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

V2: Adapt to different API of string buffer (Thomas Helland)
2017-09-26 18:25:20 +02:00
..
glsl glcpp: Use string_buffer for line continuation removal 2017-09-26 18:25:20 +02:00
nir nir: add some helpers for doing linking 2017-09-26 22:37:02 +10:00
spirv spirv: Flip the tessellation winding order 2017-09-20 17:21:06 -07:00
.gitignore nir/spirv: Remove a duplicate spirv2nir from .gitignore 2016-10-04 07:43:15 -07:00
Android.glsl.gen.mk Android: clean-up trailing '\' in make variables 2017-03-22 17:52:06 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk Android: fix spirv_info.c generation 2017-07-21 08:48:45 +03:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h glsl: Add basic ARB_gpu_shader_int64 types 2017-01-20 15:41:23 -08:00
glsl_types.cpp st/mesa: get rid of st_glsl_types 2017-07-31 14:55:30 +02:00
glsl_types.h glsl: add get_internal_ifc_packing() type helper 2017-08-22 11:29:27 +10:00
Makefile.am compiler: Add $(WNO_OVERRIDE_INIT) to AM_CFLAGS 2017-08-29 15:20:57 -07:00
Makefile.glsl.am glsl: automake: export abs_builddir for the tests 2017-03-28 15:31:22 +01:00
Makefile.nir.am spirv: Generate spirv_info.c 2017-07-18 09:43:12 -07:00
Makefile.sources nir: add some helpers for doing linking 2017-09-26 22:37:02 +10:00
nir_types.cpp nir: add nir_lower_samplers_as_deref pass 2017-07-31 14:55:29 +02:00
nir_types.h nir: add nir_lower_samplers_as_deref pass 2017-07-31 14:55:29 +02:00
SConscript glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
shader_enums.c compiler: Add a system value and varying for ViewIndex 2017-05-03 11:25:46 -07:00
shader_enums.h compiler: move glsl_interface_packing enum to shader_enums.h 2017-07-26 10:39:52 +10:00
shader_info.h compiler: move pointers to the start of shader_info 2017-08-24 11:18:48 +10:00