OSDN Git Service

r600g: always use a tiled resource as the destination of MSAA resolve
authorMarek Olšák <maraeo@gmail.com>
Fri, 21 Dec 2012 19:34:52 +0000 (20:34 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 21 Dec 2012 22:43:34 +0000 (23:43 +0100)
commit9c6410e5c3ffc74564fae5afcc1b6982759cdd01
tree3d1deb4fe6a462c3f5b3b34ae14395de4882d3a4
parent9b0b4cf05840fd8dcc4973524166024f948a97ec
r600g: always use a tiled resource as the destination of MSAA resolve

i.e. we have to allocate a temporary tiled resource if dst isn't tiled.

This fixes hardlocks on r6xx-r7xx, though using a linear resource is forbidden
on later asics as well.

NOTE: This is a candidate for the stable branches.
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_texture.c