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

Author: Tom Stellard <tstel...@gmail.com>
Date:   Sat Nov 13 17:00:45 2010 -0800

r300/compiler: Handle BREAK and CONTINUE in rc_get_readers()

---

 .../drivers/dri/r300/compiler/radeon_dataflow.c    |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c 
b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
index d757b17..2ce0c6e 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
@@ -665,6 +665,8 @@ static void get_readers_for_single_write(
                         * reader before we get to the BGNLOOP, we must abort
                         * unless there is another writer between that reader
                         * and the BGNLOOP. */
+               case RC_OPCODE_BRK:
+               case RC_OPCODE_CONT:
                        d->ReaderData->Abort = 1;
                        return;
                case RC_OPCODE_IF:

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to