void
blorp_ccs_resolve(struct blorp_batch *batch,
- struct blorp_surf *surf, uint32_t level, uint32_t layer,
+ struct blorp_surf *surf, uint32_t level,
+ uint32_t start_layer, uint32_t num_layers,
enum isl_format format,
enum blorp_fast_clear_op resolve_op);
void
blorp_ccs_resolve(struct blorp_batch *batch,
- struct blorp_surf *surf, uint32_t level, uint32_t layer,
+ struct blorp_surf *surf, uint32_t level,
+ uint32_t start_layer, uint32_t num_layers,
enum isl_format format,
enum blorp_fast_clear_op resolve_op)
{
struct blorp_params params;
- prepare_ccs_resolve(batch, ¶ms, surf, level, layer, format, resolve_op);
+ prepare_ccs_resolve(batch, ¶ms, surf, level, start_layer,
+ format, resolve_op);
+ params.num_layers = num_layers;
batch->blorp->exec(batch, ¶ms);
}
struct blorp_batch batch;
blorp_batch_init(&brw->blorp, &batch, brw, 0);
- blorp_ccs_resolve(&batch, &surf, level, layer,
+ blorp_ccs_resolve(&batch, &surf, level, layer, 1,
brw_blorp_to_isl_format(brw, format, true),
resolve_op);
blorp_batch_finish(&batch);