diff --git a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp index 9fd4922bb3f..1ace91fafef 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp @@ -205,6 +205,7 @@ vec4_visitor::reg_allocate() if (!ra_allocate_no_spills(g)) { ralloc_free(g); fail("No register spilling support yet\n"); + return; } /* Get the chosen virtual registers for each node, and map virtual