diff options
author | Marek Olšák <[email protected]> | 2014-08-23 16:46:53 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-09-01 21:18:52 +0200 |
commit | a10c8db715baa8e12f5267ef2fc59dbb7d191f8d (patch) | |
tree | 4b38e33d7ab31462a105f7f442a3598c238f75b0 /src/gallium/drivers/radeon | |
parent | f05fe294e7e8dfb08be172f426252192c0ba17ab (diff) |
radeonsi: implement EXPCLEAR optimization for depth
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index cac6faac951..b9a35c76633 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -191,6 +191,7 @@ struct r600_texture { /* Depth buffer compression and fast clear. */ struct r600_resource *htile_buffer; + bool depth_cleared; /* if it was cleared at least once */ float depth_clear_value; bool non_disp_tiling; /* R600-Cayman only */ |