Mesa (master): i965: Fail on loops on gen6 for now until we write the EU emit code for it.

Eric Anholt anholt at kemper.freedesktop.org
Thu Nov 18 01:20:05 UTC 2010


Module: Mesa
Branch: master
Commit: da35388044db4aa6fc66c08a087d8d703b5a6008
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da35388044db4aa6fc66c08a087d8d703b5a6008

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 17 14:59:08 2010 +0800

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 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 4ef7178..b12a480 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;




More information about the mesa-commit mailing list