From da35388044db4aa6fc66c08a087d8d703b5a6008 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 17 Nov 2010 14:59:08 +0800 Subject: [PATCH] i965: Fail on loops on gen6 for now until we write the EU emit code for it. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 4ef71784d4e..b12a4800410 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3241,6 +3241,10 @@ fs_visitor::generate_code() break; case BRW_OPCODE_DO: + /* FINISHME: We need to write the loop instruction support still. */ + if (intel->gen >= 6) + this->fail = true; + loop_stack[loop_stack_depth++] = brw_DO(p, BRW_EXECUTE_8); if_depth_in_loop[loop_stack_depth] = 0; break; -- 2.30.2