diff options
author | Ian Romanick <[email protected]> | 2011-07-28 14:09:06 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-02 08:23:01 -0700 |
commit | 379a32f42ebca9feeb024633f7774661619fd62e (patch) | |
tree | 7654221dfeb0f4d7f93758d8b05fd2be13df1378 /src/glsl/ir_function_detect_recursion.cpp | |
parent | 586e741ac1fa222d041990b265e820f5aa11344d (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/ir_function_detect_recursion.cpp')
-rw-r--r-- | src/glsl/ir_function_detect_recursion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_function_detect_recursion.cpp b/src/glsl/ir_function_detect_recursion.cpp index a3b461818d3..8f805bf1ba9 100644 --- a/src/glsl/ir_function_detect_recursion.cpp +++ b/src/glsl/ir_function_detect_recursion.cpp @@ -125,6 +125,7 @@ #include "glsl_parser_extras.h" #include "linker.h" #include "program/hash_table.h" +#include "program.h" struct call_node : public exec_node { class function *func; |