[Mesa-dev] [PATCH 2/2] i965/vs: Print error if vertex shader fails to compile.
Matt Turner
mattst88 at gmail.com
Tue Apr 9 13:31:40 PDT 2013
---
src/mesa/drivers/dri/i965/brw_vec4.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 446b4cf..e129816 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1522,6 +1522,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;
}
--
1.8.1.5
More information about the mesa-dev
mailing list