summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-02-09 16:35:49 -0800
committerIan Romanick <ian.d.romanick@intel.com>2012-02-14 17:53:14 -0800
commit99f9c9789a2d316d97ca6791343fb697f220929e (patch)
treef353f0a55ea544df48b6bfea2e6aab3407ae0f66
parenta63d79dd4075fdc4dba4b9b6c9801fca93a8a725 (diff)
i965/fs: Enable register spilling on gen7 too.
It turns out the same messages work on gen7, we were just being paranoid. Fixes the penumbra shadows mode of Lightsmark since the register allocation fix. NOTE: This is a candidate for release branches. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 93831a54c7d4e74f353e0029164b1b3262e98806)
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
index 0d1712e9d5a..7da1418de92 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
@@ -236,8 +236,6 @@ fs_visitor::assign_regs()
if (reg == -1) {
fail("no register to spill\n");
- } else if (intel->gen >= 7) {
- fail("no spilling support on gen7 yet\n");
} else if (c->dispatch_width == 16) {
fail("no spilling support on 16-wide yet\n");
} else {