summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-15 21:41:34 +0100
committerMarek Olšák <[email protected]>2013-01-21 17:00:51 +0100
commitb7cb6552981e7a655782092c1d66e46ce1ab155e (patch)
tree2fab9235f8540cf57b8fd58228c4757a623239d6 /src/gallium/drivers/r300/r300_state.c
parent6f6112a2b982462667ba36a6f3ba381558780e8a (diff)
r300g: enable AA optimizations for the RGBA16F format
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index fa256aa2c55..e5d9bebb2c9 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -827,6 +827,9 @@ void r300_mark_fb_state_dirty(struct r300_context *r300,
if (r300->cmask_in_use) {
r300->fb_state.size += 6;
+ if (r300->screen->caps.is_r500 && r300->screen->info.drm_minor >= 29) {
+ r300->fb_state.size += 3;
+ }
}
/* The size of the rest of atoms stays the same. */