diff options
author | Tom Stellard <[email protected]> | 2010-11-13 17:00:45 -0800 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2010-11-21 18:48:31 -0800 |
commit | 255860113f12062c7341c012e6d9a3e6d834ab98 (patch) | |
tree | f39c8628eca79f4026558cf3a75845470460dc2d /src | |
parent | 96f9580160bf769fbdcd005b48c7bf6e92d453f7 (diff) |
r300/compiler: Handle BREAK and CONTINUE in rc_get_readers()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/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 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: |