r600g: Use LOOP_START_DX10 for loops
authorTom Stellard <thomas.stellard@amd.com>
Mon, 17 Sep 2012 14:33:56 +0000 (14:33 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 19 Sep 2012 18:58:53 +0000 (14:58 -0400)
commit810345492eca34c2ad12728b5491a4691cc62ec2
tree6271c62e268bbb51c4bd0b26469c08a78b5f843c
parent3e3ca9271887ea4c8d3312d8943aefcd5e1893e0
r600g: Use LOOP_START_DX10 for loops

LOOP_START_DX10 ignores the LOOP_CONFIG* registers, so it is not limited
to 4096 iterations like the other LOOP_* instructions.  Compute shaders
need to use this instruction, and since we aren't optimizing loops with
the LOOP_CONFIG* registers for pixel and vertex shaders, it seems like
we should just use it for everything.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r600/eg_asm.c
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_shader.c