From 72878f9f53b9a44dd8575c7b8d1929c8995c1876 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 21 Oct 2016 14:50:20 -0700 Subject: intel/blorp: Add a clear_attachments entrypoint Signed-off-by: Jason Ekstrand Reviewed-by: Topi Pohjolainen --- src/intel/blorp/blorp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/intel/blorp/blorp.h') diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index 4351cb18121..1a38cc96509 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -156,6 +156,17 @@ blorp_clear_depth_stencil(struct blorp_batch *batch, bool clear_depth, float depth_value, uint8_t stencil_mask, uint8_t stencil_value); +void +blorp_clear_attachments(struct blorp_batch *batch, + uint32_t binding_table_offset, + enum isl_format depth_format, + uint32_t num_samples, + uint32_t start_layer, uint32_t num_layers, + uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, + bool clear_color, union isl_color_value color_value, + 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