summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
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/r600_pipe.h
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/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 8887a982cfd..4cadab809ad 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -81,6 +81,7 @@ struct r600_db_misc_state {
bool occlusion_query_enabled;
bool flush_depthstencil_through_cb;
bool copy_depth, copy_stencil;
+ unsigned copy_sample;
};
struct r600_cb_misc_state {
@@ -483,9 +484,11 @@ void r600_blit_uncompress_depth(struct pipe_context *ctx,
struct r600_resource_texture *texture,
struct r600_resource_texture *staging,
unsigned first_level, unsigned last_level,
- unsigned first_layer, unsigned last_layer);
+ unsigned first_layer, unsigned last_layer,
+ unsigned first_sample, unsigned last_sample);
void r600_flush_depth_textures(struct r600_context *rctx,
struct r600_samplerview_state *textures);
+
/* r600_buffer.c */
bool r600_init_resource(struct r600_screen *rscreen,
struct r600_resource *res,