aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_validate.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-10-13 15:15:57 -0700
committerKenneth Graunke <[email protected]>2015-10-14 14:07:47 -0700
commitff31c243e38332999b617d479a0dca61b15bc1c6 (patch)
treea854ae1e9e97bf81c99b124855d5372304ce9704 /src/mesa/drivers/dri/i965/brw_fs_validate.cpp
parenta274eff9ffffaa7726e7e36f59c1051cd0dfa701 (diff)
i965: Don't hardcode FS in "validation failed!" message.
Instead, print "Scalar VS" or "Scalar FS". Otherwise it's really confusing which stage is broken. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_validate.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_validate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_validate.cpp b/src/mesa/drivers/dri/i965/brw_fs_validate.cpp
index d0e04f3bf47..814c551f1be 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_validate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_validate.cpp
@@ -32,7 +32,7 @@
#define fsv_assert(cond) \
if (!(cond)) { \
- fprintf(stderr, "ASSERT: FS validation failed!\n"); \
+ fprintf(stderr, "ASSERT: Scalar %s validation failed!\n", stage_abbrev); \
dump_instruction(inst, stderr); \
fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #cond); \
abort(); \