diff options
author | Eric Anholt <[email protected]> | 2010-11-17 14:59:08 +0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-11-18 09:18:47 +0800 |
commit | da35388044db4aa6fc66c08a087d8d703b5a6008 (patch) | |
tree | 5ea57d7e0ab237139ff8d8f3e2a6239e737150cb | |
parent | 3c8db58a17581504018bedf56bacef66fe30a7ba (diff) |
i965: Fail on loops on gen6 for now until we write the EU emit code for it.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |