r600g: add initial if/else/endif support
authorDave Airlie <airlied@redhat.com>
Wed, 25 Aug 2010 05:57:41 +0000 (15:57 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Aug 2010 05:30:07 +0000 (15:30 +1000)
commita03d456f5a41926e39194de70b2d50776e64b8a2
treebf8a1c8bedf88d876c439462c5949ae5ba379e0a
parentd8fb13bae30b6ff214c5d5158b9bcaf430f56b43
r600g: add initial if/else/endif support

this adds handling for some more CF instructions and conditions
also adds parameter for stack size emission

These seem to pass on VS with the stack size hack but not on FS,

TODO: fix FS + stack size calcs
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_sq.h