[Mesa-dev] [PATCH v2 2/2] i965/vs: Print error if vertex shader fails to compile.
Matt Turner
mattst88 at gmail.com
Thu Apr 11 10:55:05 PDT 2013
---
src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 4f7b8c0..6a2ce35 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1547,6 +1547,9 @@ brw_vs_emit(struct brw_context *brw,
if (prog) {
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;
}
--
1.7.8.6
More information about the mesa-dev
mailing list