r600g: partialy fix texturing from depth buffer + initial support for untiling
authorJerome Glisse <jglisse@redhat.com>
Sun, 22 Aug 2010 02:49:22 +0000 (22:49 -0400)
committerJerome Glisse <jglisse@redhat.com>
Sun, 22 Aug 2010 02:52:38 +0000 (22:52 -0400)
commit36efb86c0570d86d8dfce87fd2416125e0e91b40
tree127f6694d20d068d819682e82f96d9ec59685cf3
parentae34a6393e6519dc32e53fa8407155e8679fc257
r600g: partialy fix texturing from depth buffer + initial support for untiling

Partialy fix texturing from depth buffer, depth buffer is tiled
following different tile organisation that color buffer. This
properly set the tile type & array mode field of texture sampler
when sampling from db resource.

Add initial support to untiling buffer when transfering them,
it's kind of broken by corruption the vertex buffer of previous
draw.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_context.c
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_screen.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c