r600g: fix texture offset computation for mapped MSAA depth buffers 70/7370/1
authorMarek Olšák <maraeo@gmail.com>
Sun, 30 Jun 2013 12:34:23 +0000 (14:34 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 8 Jul 2013 18:25:18 +0000 (20:25 +0200)
commitae87aae0c4bcc448be3c965319b88f50b2d6fe36
tree64fb52c76f516d1c32ce18980ffdb782415b98fc
parenta3263cca59b463a9c49bd165226e36fdfec96d8b
r600g: fix texture offset computation for mapped MSAA depth buffers

It was wrong, because the offset shouldn't be applied to MSAA depth buffers.
This small cleanup should prevent such issues in the future.

This fixes a lockup in "piglit/fbo-depthstencil default_fb -samples=n".

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_texture.c