diff options
author | Jason Ekstrand <[email protected]> | 2017-06-05 11:32:19 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-06-07 08:54:54 -0700 |
commit | fbd8a33f61b7fef320ed11730fe6d474bb897120 (patch) | |
tree | 6287501d50c79b2fbe4fb51c46ff1d335af265bc /src/intel/blorp/blorp.h | |
parent | 42b10bbfe048a120ab40b4b31f8168355a4cd344 (diff) |
intel/blorp: Refactor the HiZ op interface
This commit does a few things:
1) Now that BLORP can do HiZ ops on gen8+, drop the gen6 prefix.
2) Switch parameters to uint32_t to match the rest of blorp.
3) Take a range of layers and loop internally.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r-- | src/intel/blorp/blorp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index eab75d70ab9..744c1b1ea0a 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -209,9 +209,9 @@ enum blorp_hiz_op { }; void -blorp_gen6_hiz_op(struct blorp_batch *batch, - struct blorp_surf *surf, unsigned level, unsigned layer, - enum blorp_hiz_op op); +blorp_hiz_op(struct blorp_batch *batch, struct blorp_surf *surf, + uint32_t level, uint32_t start_layer, uint32_t num_layers, + enum blorp_hiz_op op); #ifdef __cplusplus } /* end extern "C" */ |