summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-06-14 13:55:11 +0200
committerSamuel Pitoiset <[email protected]>2017-06-18 14:10:36 +0200
commit06ed251c328ebf5c635b972b14039165077d05df (patch)
tree85bac01068de35ada2d87d486a0d40936a3615cf /src/gallium/drivers/radeonsi/si_pipe.h
parent705a6a560ee1d2433fa65078b2ae6616dee0c052 (diff)
radeonsi: reduce overhead for resident textures which need depth decompression
This is done by introducing a separate list. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 427ac1c83ae..3834cea893f 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -244,7 +244,6 @@ struct si_texture_handle
struct si_bindless_descriptor *desc;
struct pipe_sampler_view *view;
bool needs_color_decompress;
- bool needs_depth_decompress;
};
struct si_image_handle
@@ -432,6 +431,9 @@ struct si_context {
struct util_dynarray resident_tex_handles;
struct util_dynarray resident_img_handles;
+ /* Resident bindless handles which need decompression */
+ struct util_dynarray resident_tex_needs_depth_decompress;
+
/* Bindless state */
bool uses_bindless_samplers;
bool uses_bindless_images;