r600g: improve supported format selection.
authorDave Airlie <airlied@redhat.com>
Fri, 6 Aug 2010 04:53:38 +0000 (14:53 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 6 Aug 2010 04:53:38 +0000 (14:53 +1000)
commit2b9036476511edd549d1c2cea6044eef4652a19c
tree2ecfc1be35e18303d074afdf423403323d80df40
parent121a625c1651ddc181e374ebdf16bc5c46f6eaa9
r600g: improve supported format selection.

This fixes fbo-readpixels piglit test, and adds support for swapping
the formats. Not all formats are correct yet I don't think.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_draw.c
src/gallium/drivers/r600/r600_helper.c
src/gallium/drivers/r600/r600_screen.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_inlines.h
src/gallium/drivers/r600/r600d.h