summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_vert_fc.c4
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;
+ }
}
}