summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-04-11 09:57:23 -0700
committerMatt Turner <[email protected]>2013-04-11 17:22:07 -0700
commit195a6cca3cbc26eeea0f7f8dfc21dd3429911779 (patch)
tree895df2766808db4bf109744c46358d3834c043e6 /src/mesa/drivers/dri/i965
parent32a8e877666f7c3798d736bb6f05ad2f41356ebf (diff)
i965/vs: Print error if vertex shader fails to compile.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp4
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 4f7b8c0e15a..dc7865ff654 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1548,6 +1548,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;
}