mesa: stop truncating MESA_GLSL=dump
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 27 Jan 2022 15:55:35 +0000 (10:55 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 1 Feb 2022 04:05:58 +0000 (04:05 +0000)
commit061bf72a4fdc25153b1f86d9df95ccba8b4638f6
tree92e4c9321ee8c775eb271e6e918bed0a615fe74a
parentb1b8b712c1d4bf93ce74c383f54aa2b5e54288db
mesa: stop truncating MESA_GLSL=dump

this adds a new helper function that can be used to directly dump longer
strings to the log file, such as shaders

fixes #5614

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14755>
src/mesa/main/errors.c
src/mesa/main/errors.h
src/mesa/main/shaderapi.c