glsl/glcpp: Add a -d/--debug option to the standalone glcpp program

Graphics / Mesa 3D Graphics Library / Mesa - Carl Worth [cworth.org] - 29 July 2014 17:11 UTC

The verbose debug output from the parser is quite useful when debugging, and having this available as a command-line option is much more convenient than manually forcing this into the code when needed, (which is what I had been doing for too long previously).

2fdc1f5 glsl/glcpp: Add a -d/--debug option to the standalone glcpp program
src/glsl/glcpp/glcpp-parse.y | 2 ++
src/glsl/glcpp/glcpp.c | 6 +++++-
2 files changed, 7 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share