aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2016-09-19 12:03:58 +0300
committerTopi Pohjolainen <[email protected]>2016-11-25 16:57:07 +0200
commitd07cf68a97b4ef382295c27a3053f2a899dd3122 (patch)
tree1d6b587aaa8c1338983505ec130d222207f085b3 /src/mesa/drivers/dri/i965/intel_mipmap_tree.h
parent17e6a214fd425cc5a10f1e6a1cbc794ca7f3be8a (diff)
i965: Add interface for checking multiple slices if any is unresolved
Signed-off-by: Topi Pohjolainen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
index 13de820f403..a6652693116 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
@@ -973,6 +973,11 @@ intel_miptree_set_fast_clear_state(struct intel_mipmap_tree *mt,
unsigned num_layers,
enum intel_fast_clear_state new_state);
+bool
+intel_miptree_has_color_unresolved(const struct intel_mipmap_tree *mt,
+ unsigned start_level, unsigned num_levels,
+ unsigned start_layer, unsigned num_layers);
+
/**
* Update the fast clear state for a miptree to indicate that it has been used
* for rendering.