projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd03b9
)
i965: Report the failure message when failing to compile the fragment shader.
author
Eric Anholt
<eric@anholt.net>
Thu, 9 Feb 2012 18:23:45 +0000
(10:23 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 14 Feb 2012 18:19:04 +0000
(10:19 -0800)
We just abort later, but at least this should result in more
informative bug reports.
NOTE: This is a candidate for release branches.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 6ecaa6c758f71a623c9ee8c24e40034301f12e89..bf59da3a4d6ae274fbbabe355cb39ff8a80a2906 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-1844,6
+1844,9
@@
brw_wm_fs_emit(struct brw_context *brw, struct brw_wm_compile *c,
prog->LinkStatus = false;
ralloc_strcat(&prog->InfoLog, v.fail_msg);
+ _mesa_problem(NULL, "Failed to compile fragment shader: %s\n",
+ v.fail_msg);
+
return false;
}