From 0cabf93b80d03ea923cf507218024953b9d0254c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 6 Oct 2016 23:20:12 -0700 Subject: intel/blorp: Add an entrypoint for clearing depth and stencil Signed-off-by: Jason Ekstrand Reviewed-by: Topi Pohjolainen --- src/intel/blorp/blorp.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/intel/blorp/blorp.h') diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index aa52976bd95..b178ae374d6 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -134,6 +134,16 @@ blorp_clear(struct blorp_batch *batch, union isl_color_value clear_color, const bool color_write_disable[4]); +void +blorp_clear_depth_stencil(struct blorp_batch *batch, + const struct blorp_surf *depth, + const struct blorp_surf *stencil, + uint32_t level, uint32_t start_layer, + uint32_t num_layers, + uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, + bool clear_depth, float depth_value, + uint8_t stencil_mask, uint8_t stencil_value); + void blorp_ccs_resolve(struct blorp_batch *batch, struct blorp_surf *surf, enum isl_format format); -- cgit v1.2.3