From 255860113f12062c7341c012e6d9a3e6d834ab98 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 13 Nov 2010 17:00:45 -0800 Subject: [PATCH] r300/compiler: Handle BREAK and CONTINUE in rc_get_readers() --- src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c index d757b1715cd..2ce0c6e2b68 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: -- 2.30.2