linker: Make linker_{error,warning} generally available
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 28 Jul 2011 21:09:06 +0000 (14:09 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 2 Aug 2011 15:23:01 +0000 (08:23 -0700)
commit379a32f42ebca9feeb024633f7774661619fd62e
tree7654221dfeb0f4d7f93758d8b05fd2be13df1378
parent586e741ac1fa222d041990b265e820f5aa11344d
linker: Make linker_{error,warning} generally available

linker_warning is a new function.  It's identical to linker_error
except that it doesn't set LinkStatus=false and it prepends "warning: "
on messages instead of "error: ".

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/ir_function_detect_recursion.cpp
src/glsl/linker.cpp
src/glsl/linker.h
src/glsl/program.h