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 <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
@@ -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(); \
|
||||
|
||||
Reference in New Issue
Block a user