summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-10-21 14:50:20 -0700
committerJason Ekstrand <[email protected]>2016-11-16 10:11:29 -0800
commit72878f9f53b9a44dd8575c7b8d1929c8995c1876 (patch)
tree4624ee81d3005539f33a39a01c5a8370dbd8a8eb /src/intel/blorp/blorp.h
parent0aea29cc1ce0c97e1cffb6aaff78c7dd754b8191 (diff)
intel/blorp: Add a clear_attachments entrypoint
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r--src/intel/blorp/blorp.h11
1 files changed, 11 insertions, 0 deletions
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
@@ -157,6 +157,17 @@ blorp_clear_depth_stencil(struct blorp_batch *batch,
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);