diff options
author | Nanley Chery <[email protected]> | 2017-03-06 17:37:49 -0800 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2017-06-26 11:09:12 -0700 |
commit | d1119ab7b6e7d92505f4855e4f9f4d19e5a94804 (patch) | |
tree | 9ca90663ced01b73a2e2204eddd6a6ac50d2799e /src/intel/blorp/blorp.h | |
parent | 6235f08ff8870636d89d2181e0a9dfc3ebec7b45 (diff) |
blorp/clear: Add a binding-table-based CCS resolve function
v2:
- Do layered resolves.
(Jason Ekstrand):
- Replace "bt" suffix with "attachment".
- Rename helper function to prepare_ccs_resolve.
- Move blorp_params_init() into helper function.
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r-- | src/intel/blorp/blorp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index 744c1b1ea0a..d5226c22481 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -191,6 +191,17 @@ blorp_ccs_resolve(struct blorp_batch *batch, enum isl_format format, enum blorp_fast_clear_op resolve_op); +/* Resolves subresources of the image subresource range specified in the + * binding table. + */ +void +blorp_ccs_resolve_attachment(struct blorp_batch *batch, + const uint32_t binding_table_offset, + struct blorp_surf * const surf, + const uint32_t level, const uint32_t num_layers, + const enum isl_format format, + const enum blorp_fast_clear_op resolve_op); + /** * For an overview of the HiZ operations, see the following sections of the * Sandy Bridge PRM, Volume 1, Part2: |