Mesa (master): r300/compiler: Exit immediately from rc_vert_fc() if there is an error
Tom Stellard
tstellar at kemper.freedesktop.org
Sat Apr 14 16:15:10 UTC 2012
Module: Mesa
Branch: master
Commit: 0b59909e78e96f1bd95d63050e988492b40b03ee
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b59909e78e96f1bd95d63050e988492b40b03ee
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Sat Apr 14 12:11:29 2012 -0400
r300/compiler: Exit immediately from rc_vert_fc() if there is an error
This way we correctly report "Too many temporaries" errors.
https://bugs.freedesktop.org/show_bug.cgi?id=48680
Note: This is a candidate for the stable branches.
---
src/gallium/drivers/r300/compiler/radeon_vert_fc.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/compiler/radeon_vert_fc.c b/src/gallium/drivers/r300/compiler/radeon_vert_fc.c
index 3568b23..be8376e 100644
--- a/src/gallium/drivers/r300/compiler/radeon_vert_fc.c
+++ b/src/gallium/drivers/r300/compiler/radeon_vert_fc.c
@@ -270,5 +270,9 @@ void rc_vert_fc(struct radeon_compiler *c, void *user)
}
break;
}
+
+ if (c->Error) {
+ return;
+ }
}
}
More information about the mesa-commit
mailing list