i965/vs: Print error if vertex shader fails to compile.

Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Matt Turner
2013-04-11 09:57:23 -07:00
parent 32a8e87766
commit 195a6cca3c
+4
View File
@@ -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;
}