Re: [Mesa-dev] [PATCH] glsl: add null pointer check in print_without_declaration()

2017-04-03 Thread Nicolai Hähnle
On 31.03.2017 20:14, Brian Paul wrote: On 03/31/2017 12:01 AM, Nicolai Hähnle wrote: On 31.03.2017 05:21, Brian Paul wrote: To avoid/fix a segmentation fault when running the stand-alone GLSL compiler utility for cases such as the Mesa demos toyball test: glsl_compiler --dump-builder --version

Re: [Mesa-dev] [PATCH] glsl: add null pointer check in print_without_declaration()

2017-03-31 Thread Brian Paul
On 03/31/2017 12:01 AM, Nicolai Hähnle wrote: On 31.03.2017 05:21, Brian Paul wrote: To avoid/fix a segmentation fault when running the stand-alone GLSL compiler utility for cases such as the Mesa demos toyball test: glsl_compiler --dump-builder --version 120 CH11-toyball.vert CH11-toyball.frag

Re: [Mesa-dev] [PATCH] glsl: add null pointer check in print_without_declaration()

2017-03-30 Thread Nicolai Hähnle
On 31.03.2017 05:21, Brian Paul wrote: To avoid/fix a segmentation fault when running the stand-alone GLSL compiler utility for cases such as the Mesa demos toyball test: glsl_compiler --dump-builder --version 120 CH11-toyball.vert CH11-toyball.frag --- src/compiler/glsl/ir_builder_print_visito

[Mesa-dev] [PATCH] glsl: add null pointer check in print_without_declaration()

2017-03-30 Thread Brian Paul
To avoid/fix a segmentation fault when running the stand-alone GLSL compiler utility for cases such as the Mesa demos toyball test: glsl_compiler --dump-builder --version 120 CH11-toyball.vert CH11-toyball.frag --- src/compiler/glsl/ir_builder_print_visitor.cpp | 4 +++- 1 file changed, 3 inserti