r300/compiler: Handle BREAK and CONTINUE in rc_get_readers()
authorTom Stellard <tstellar@gmail.com>
Sun, 14 Nov 2010 01:00:45 +0000 (17:00 -0800)
committerTom Stellard <tstellar@gmail.com>
Mon, 22 Nov 2010 02:48:31 +0000 (18:48 -0800)
src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c

index d757b1715cdad6a28017c3bf09362e8e66c342bb..2ce0c6e2b681eac1810ebe6ecd7f48c5aaf72989 100644 (file)
@@ -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: