Mesa (master): r300/compiler: Handle BREAK and CONTINUE in rc_get_readers()
Tom Stellard
tstellar at kemper.freedesktop.org
Mon Nov 22 05:41:37 UTC 2010
Module: Mesa
Branch: master
Commit: 255860113f12062c7341c012e6d9a3e6d834ab98
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=255860113f12062c7341c012e6d9a3e6d834ab98
Author: Tom Stellard <tstellar at 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:
More information about the mesa-commit
mailing list