diff options
author | Tom Stellard <[email protected]> | 2012-04-14 12:11:29 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-04-14 12:11:29 -0400 |
commit | 0b59909e78e96f1bd95d63050e988492b40b03ee (patch) | |
tree | 7da49e3be3160a9a3f1241da4fb2a5284bcf5e0e /src/gallium/drivers/r300 | |
parent | 73249239cf71e3595ee19f3c1a02b8b0f58994cd (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | 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 3568b238299..be8376e9730 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; + } } } |