r300g: Fix bug in build_loop_info()/compiler v2
authorTom Stellard <thomas.stellard@amd.com>
Wed, 13 Aug 2014 18:37:03 +0000 (14:37 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 13 Aug 2014 18:37:03 +0000 (14:37 -0400)
commit866dae85c826065f5628c14eecab3873045fbbf9
tree78612731b6a4f983c51740608a424f103eb00c71
parented3f7eadad1527447df14ee0c33fdf75fcad47b1
r300g: Fix bug in build_loop_info()/compiler v2

Fixes piglit glean "do-loop with continue and break" on RS690

It's based on Tom Stellard patch and improved to handle CMP instruction.

[v2] handle CMP instruction

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>
src/gallium/drivers/r300/compiler/radeon_emulate_loops.c