Module: Mesa Branch: 9.1 Commit: f7c768695506958ce7ebcff4d68ef931511a5698 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7c768695506958ce7ebcff4d68ef931511a5698
Author: Matt Turner <[email protected]> Date: Thu Apr 11 09:57:23 2013 -0700 i965/vs: Print error if vertex shader fails to compile. Reviewed-by: Eric Anholt <[email protected]> (cherry picked from commit 195a6cca3cbc26eeea0f7f8dfc21dd3429911779) --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 63003d5..df8998b 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -1379,6 +1379,10 @@ brw_vs_emit(struct brw_context *brw, prog->LinkStatus = false; ralloc_strcat(&prog->InfoLog, v.fail_msg); } + + _mesa_problem(NULL, "Failed to compile vertex shader: %s\n", + v.fail_msg); + return NULL; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
