r600g: rewrite FMASK allocation, fix FMASK texturing with 2 and 4 samples
authorMarek Olšák <maraeo@gmail.com>
Thu, 11 Apr 2013 12:54:40 +0000 (14:54 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 15 May 2013 18:19:45 +0000 (20:19 +0200)
commit61c995bc47b838317a4a62fba2ff2031bcb0c23e
treece944ced016e5fbca14b36dcaf225efc3f758ad3
parent61506257f68c18cc927a44f25344ee0584fdbd0e
r600g: rewrite FMASK allocation, fix FMASK texturing with 2 and 4 samples

This fixes and enables texturing with compressed MSAA colorbuffers
on Evergreen and Cayman. For the first time, multisample textures work
on Cayman.

This requires the libdrm flag RADEON_SURF_FMASK.

v2: require libdrm_radeon 2.4.45

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
configure.ac
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/evergreend.h
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c