From 195a6cca3cbc26eeea0f7f8dfc21dd3429911779 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 11 Apr 2013 09:57:23 -0700 Subject: [PATCH] i965/vs: Print error if vertex shader fails to compile. Reviewed-by: Eric Anholt --- 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 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; } -- 2.30.2