diff options
author | Tom Stellard <tstellar@gmail.com> | 2010-06-18 21:20:57 -0700 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-07-03 04:32:31 +0200 |
commit | f381c52081b2cbff31c2f38abf16dffcc08f681c (patch) | |
tree | 487291353936ffb561cb3924845d491df5db6171 /src/mesa/drivers/dri/r300/compiler/radeon_dataflow_deadcode.c | |
parent | 3c3b7e02eb80727382f7239c7d53f90bc748a194 (diff) |
r300/compiler: Use hardware flow control instructions for loops on r500.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_dataflow_deadcode.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_dataflow_deadcode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow_deadcode.c b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow_deadcode.c index f8bced2532..fbb4235c22 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_dataflow_deadcode.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_dataflow_deadcode.c @@ -235,6 +235,10 @@ void rc_dataflow_deadcode(struct radeon_compiler * c, rc_dataflow_mark_outputs_f } break; } + case RC_OPCODE_CONTINUE: + case RC_OPCODE_BRK: + case RC_OPCODE_BGNLOOP: + break; case RC_OPCODE_ENDIF: push_branch(&s); break; |