summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-08-09 17:17:18 +0200
committerMarek Olšák <[email protected]>2012-08-15 19:20:58 +0200
commit94b634eca0e2bd32d4b5bd92d06d510eae8a5625 (patch)
treecc9defa420159e913f68b8e2cb3e9c50b3c303e7 /src/gallium/drivers/r600/evergreen_state.c
parent6d3ad2dd2ba3ccdd211dbc618404519930631be2 (diff)
r600g: implement MSAA depth-stencil decompression and resolve
and integer textures, which are resolved the same as depth, I think.
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index b08cb0b2f01..56b578b89f2 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -1801,7 +1801,8 @@ static void evergreen_emit_db_misc_state(struct r600_context *rctx, struct r600_
db_render_control |= S_028000_DEPTH_COPY_ENABLE(a->copy_depth) |
S_028000_STENCIL_COPY_ENABLE(a->copy_stencil) |
- S_028000_COPY_CENTROID(1);
+ S_028000_COPY_CENTROID(1) |
+ S_028000_COPY_SAMPLE(a->copy_sample);
}
r600_write_context_reg_seq(cs, R_028000_DB_RENDER_CONTROL, 2);