radeonsi: fix db and stencil setup v2
authorChristian König <deathsimple@vodafone.de>
Fri, 27 Jul 2012 19:57:40 +0000 (21:57 +0200)
committerChristian König <deathsimple@vodafone.de>
Mon, 30 Jul 2012 13:02:04 +0000 (15:02 +0200)
commit86490bc150dd108d5917bb0f4636a9545fbf1b8e
tree9b3399cdd5bc617090eff92d18dcc4288fe2ffb8
parent7dace3a3cf894adb51a21ff6b08f58608ea33831
radeonsi: fix db and stencil setup v2

v2: fix tiling for small pitches, that finally makes
    glxgears and readPixSanity work

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/r600_resource.h
src/gallium/drivers/radeonsi/r600_texture.c
src/gallium/drivers/radeonsi/si_state.c