diff options
author | Marek Olšák <[email protected]> | 2012-07-08 01:54:24 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-07-12 02:08:30 +0200 |
commit | dee58f94af833906863b0ff2955b20f3ab407e63 (patch) | |
tree | 5099a89a659cd1d987977a3235c37e7a105a9a87 /src/gallium/drivers/r600/r600_pipe.h | |
parent | df79eb59566f20a7fa8e11d87b63b81ec35eaf25 (diff) |
r600g: do fine-grained depth texture flushing
- maintain a mask of which mipmap levels are dirty (instead of one big flag)
- only flush what was requested at a given point and not the whole resource
(most often only one level and one layer has to be flushed)
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 6e08cbff3d4..1ee5604b011 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -441,7 +441,9 @@ void evergreen_update_dual_export_state(struct r600_context * rctx); void r600_init_blit_functions(struct r600_context *rctx); void r600_blit_uncompress_depth(struct pipe_context *ctx, struct r600_resource_texture *texture, - struct r600_resource_texture *staging); + struct r600_resource_texture *staging, + unsigned first_level, unsigned last_level, + unsigned first_layer, unsigned last_layer); void r600_flush_depth_textures(struct r600_context *rctx); /* r600_buffer.c */ |