projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27c03cb
)
i965/vs: When failing due to lack of spilling, don't continue on.
author
Eric Anholt
<eric@anholt.net>
Wed, 7 Sep 2011 17:32:20 +0000
(10:32 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 9 Sep 2011 04:34:03 +0000
(21:34 -0700)
Fixes assertion failure from double-free in oglc
glsl-arrayobject constructor.declaration.structure
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
patch
|
blob
|
history
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 9fd4922bb3fd76df0b47b2874aa96e783e790994..1ace91fafef5c46f3e00a6f19a59a1d54094f731 100644
(file)
--- 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