aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp.h
diff options
context:
space:
mode:
authorSagar Ghuge <[email protected]>2019-10-15 11:15:22 -0700
committerSagar Ghuge <[email protected]>2019-10-29 14:46:15 -0700
commit53d472df24d4bc05359120df0615321318922d6d (patch)
tree5c0336d9022c8bb991f627955b7efdcfa90cc2f0 /src/intel/blorp/blorp.h
parentce208be2d8793029c5abbde51c972ad1f4166701 (diff)
intel/blorp: Add helper function for stencil buffer resolve
On Gen12+, Stencil buffer's lossless compression should be resolved with WM_HZ_OP packet. Signed-off-by: Sagar Ghuge <[email protected]> Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r--src/intel/blorp/blorp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h
index ead261b6230..afee0a96a8c 100644
--- a/src/intel/blorp/blorp.h
+++ b/src/intel/blorp/blorp.h
@@ -246,6 +246,10 @@ blorp_hiz_op(struct blorp_batch *batch, struct blorp_surf *surf,
uint32_t level, uint32_t start_layer, uint32_t num_layers,
enum isl_aux_op op);
+void
+blorp_hiz_stencil_op(struct blorp_batch *batch, struct blorp_surf *stencil,
+ uint32_t level, uint32_t start_layer,
+ uint32_t num_layers, enum isl_aux_op op);
#ifdef __cplusplus
} /* end extern "C" */
#endif /* __cplusplus */