From: Tom Stellard Date: Sun, 14 Nov 2010 01:00:45 +0000 (-0800) Subject: r300/compiler: Handle BREAK and CONTINUE in rc_get_readers() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=255860113f12062c7341c012e6d9a3e6d834ab98;p=mesa.git r300/compiler: Handle BREAK and CONTINUE in rc_get_readers() --- 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: