OSDN Git Service

glsl: add just-log option for the standalone compiler.
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 19 Apr 2016 18:26:32 +0000 (20:26 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 26 May 2016 06:46:05 +0000 (08:46 +0200)
commit68c23d2d046b6419c7b3bd273278235095e29dae
tree7e56a1f1f67610c18c264a1e7122a354831927b3
parent66ff04322e80d14d9b1c8a4d1ef8cf63440242af
glsl: add just-log option for the standalone compiler.

Add an option in order to ask to just print the InfoLog, without any
header or separator. Useful if we want to use the standalone compiler
to track only the warning/error messages.

v2: all printfs goes on its own line (Ian Romanick)
v3: rebasing: move just_log to standalone.h/cpp

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/main.cpp
src/compiler/glsl/standalone.cpp
src/compiler/glsl/standalone.h