projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6397add
)
i965: Don't try to emit code if we failed register allocation.
author
Eric Anholt
<eric@anholt.net>
Sat, 2 Oct 2010 00:18:07 +0000
(17:18 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sat, 2 Oct 2010 00:19:04 +0000
(17:19 -0700)
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index ddf96ca22dd19bf7aa4ef77dcb7d109f6179ad8f..dd2af2bd1d322adaf449f197fe29c4f99a06575a 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-2808,7
+2808,8
@@
brw_wm_fs_emit(struct brw_context *brw, struct brw_wm_compile *c)
v.assign_regs();
}
- v.generate_code();
+ if (!v.fail)
+ v.generate_code();
assert(!v.fail); /* FINISHME: Cleanly fail, tested at link time, etc. */