diff options
author | Marek Olšák <marek.olsak@amd.com> | 2016-06-02 23:30:01 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-06-07 11:12:26 +0200 |
commit | 9e5b5fbde0b445df1a3265b33e2ac890d6505409 (patch) | |
tree | 816f3c99493bdb404f60c40865cc237995cb2c26 /src/gallium/drivers/radeon/r600_pipe_common.h | |
parent | c6b14bafa446d1556eb0dd344de34288617e1278 (diff) | |
download | external_mesa3d-9e5b5fbde0b445df1a3265b33e2ac890d6505409.zip external_mesa3d-9e5b5fbde0b445df1a3265b33e2ac890d6505409.tar.gz external_mesa3d-9e5b5fbde0b445df1a3265b33e2ac890d6505409.tar.bz2 |
gallium/radeon: don't discard DCC if an external user can write to it
We don't import textures with DCC now, but soon we will.
v2: if we can't disable DCC for image writes, at least decompress DCC
at bind time
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.h')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 8072833..2d60da4 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -676,7 +676,7 @@ void evergreen_do_fast_color_clear(struct r600_common_context *rctx, struct r600_atom *fb_state, unsigned *buffers, unsigned *dirty_cbufs, const union pipe_color_union *color); -void r600_texture_disable_dcc(struct r600_common_screen *rscreen, +bool r600_texture_disable_dcc(struct r600_common_screen *rscreen, struct r600_texture *rtex); void r600_init_screen_texture_functions(struct r600_common_screen *rscreen); void r600_init_context_texture_functions(struct r600_common_context *rctx); |