[Mesa-dev] [PATCH] glsl: Change the parser to use the string buffer

2017-05-28 Thread Thomas Helland
V2: Pointed out by Timothy running the CI - Fix pp.c reralloc size issue and comment V3 - Use vprintf instead of printf where we should - Fixes failing make-check tests --- src/compiler/glsl/glcpp/glcpp-parse.y | 85 ++- src/compiler/glsl/glcpp/glcpp.h

Re: [Mesa-dev] [PATCH] glsl: Change the parser to use the string buffer

2017-05-28 Thread Thomas Helland
2017-05-28 15:19 GMT+02:00 Thomas Helland : > V2: Failure found by Timothy running it through CI >- Fix pp.c reralloc size issue and comment There is still something here that doesn't work as intended. Some tests are failing I'll report once I find the cause. > --- > src/compiler/glsl/glcpp

[Mesa-dev] [PATCH] glsl: Change the parser to use the string buffer

2017-05-28 Thread Thomas Helland
V2: Failure found by Timothy running it through CI - Fix pp.c reralloc size issue and comment --- src/compiler/glsl/glcpp/glcpp-parse.y | 85 ++- src/compiler/glsl/glcpp/glcpp.h | 8 ++-- src/compiler/glsl/glcpp/pp.c | 39 +++- 3 files