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 <topi.pohjolainen@intel.com>
This commit is contained in:
@@ -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" */
|
||||
|
Reference in New Issue
Block a user