summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_chipset.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-08-11 02:15:12 +0200
committerMarek Olšák <[email protected]>2013-08-27 23:18:54 +0200
commitadb93e3bda13ed539f383787c09f948d0f27fbcb (patch)
tree146b838c9a9533cc8f0f1ef55778865afeffde00 /src/gallium/drivers/r300/r300_chipset.h
parentaa3905423e398e1ba36502ae91339d1303acf77f (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_chipset.h')
-rw-r--r--src/gallium/drivers/r300/r300_chipset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.h b/src/gallium/drivers/r300/r300_chipset.h
index f8b5d4e3d3e..8e9deb6057c 100644
--- a/src/gallium/drivers/r300/r300_chipset.h
+++ b/src/gallium/drivers/r300/r300_chipset.h
@@ -55,6 +55,8 @@ struct r300_capabilities {
int hiz_ram;
/* Some chipsets have zmask ram per pipe some don't. */
int zmask_ram;
+ /* CMASK is for MSAA colorbuffer compression and fast clear. */
+ boolean has_cmask;
/* Compression mode for ZMASK. */
enum r300_zmask_compression z_compress;
/* Whether or not this is RV350 or newer, including all r400 and r500