r300g: enable MSAA on r300-r400, be careful about using color compression
authorMarek Olšák <marek.olsak@amd.com>
Sun, 11 Aug 2013 00:15:12 +0000 (02:15 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 27 Aug 2013 21:18:54 +0000 (23:18 +0200)
commitadb93e3bda13ed539f383787c09f948d0f27fbcb
tree146b838c9a9533cc8f0f1ef55778865afeffde00
parentaa3905423e398e1ba36502ae91339d1303acf77f
r300g: enable MSAA on r300-r400, be careful about using color compression

MSAA was tested by one user on RS690 and it works for him with color
compression (CMASK) disabled. Our theory is that his chipset lacks CMASK RAM.

Since we don't have hardware documentation about which chipsets actually have
CMASK RAM, I had to take a guess based on the presence of HiZ.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r300/r300_chipset.c
src/gallium/drivers/r300/r300_chipset.h
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r300/r300_texture_desc.c