diff options
author | Jason Ekstrand <[email protected]> | 2016-10-06 23:20:12 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-10-14 15:39:41 -0700 |
commit | 0cabf93b80d03ea923cf507218024953b9d0254c (patch) | |
tree | dfdd869b62c7c0354976dddf7b85ae4caa2dd355 /src/intel/blorp/blorp.h | |
parent | 82a2c49c5f3c8784e5239ebed7ad0bf8a44c687b (diff) |
intel/blorp: Add an entrypoint for clearing depth and stencil
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.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ -135,6 +135,16 @@ blorp_clear(struct blorp_batch *batch, 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); |