i965: Disable register spilling on Ivybridge for now.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 13 May 2011 16:25:27 +0000 (09:25 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:33:02 +0000 (23:33 -0700)
The data port messages for this are rather different.  For now, fail to
compile rather than hanging the GPU.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp

index 1e2cf9171163034e01663be7e431c78954676156..f88b131677559390c9381d3d53f131196fd85c4f 100644 (file)
@@ -244,6 +244,8 @@ 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 {