aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_resource.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-08-26 22:38:35 +0200
committerMarek Olšák <[email protected]>2012-08-30 19:43:56 +0200
commit78354011f99c4103345f8f32e10b0b4b884ebdaf (patch)
tree0686495ce07db652b88bed43a4f421e4077d5545 /src/gallium/drivers/r600/r600_resource.c
parent863e2c85b9c59d717ad786c709638d948ff0f38e (diff)
r600g: implement color resolve for r600
The blend state is different and the resolve single-sample buffer must have FMASK and CMASK enabled. I decided to have one CMASK and one FMASK per context instead of per resource. There are new FMASK and CMASK allocation helpers and a new buffer_create helper for that.
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.c')
-rw-r--r--src/gallium/drivers/r600/r600_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.c b/src/gallium/drivers/r600/r600_resource.c
index 0c14a2dc6bc..1a91d5d5755 100644
--- a/src/gallium/drivers/r600/r600_resource.c
+++ b/src/gallium/drivers/r600/r600_resource.c
@@ -31,7 +31,7 @@ static struct pipe_resource *r600_resource_create(struct pipe_screen *screen,
return r600_compute_global_buffer_create(screen, templ);
}
else {
- return r600_buffer_create(screen, templ);
+ return r600_buffer_create(screen, templ, 4096);
}
} else {
return r600_texture_create(screen, templ);