intel/blorp: Refactor the HiZ op interface
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 5 Jun 2017 18:32:19 +0000 (11:32 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 7 Jun 2017 15:54:54 +0000 (08:54 -0700)
commitfbd8a33f61b7fef320ed11730fe6d474bb897120
tree6287501d50c79b2fbe4fb51c46ff1d335af265bc
parent42b10bbfe048a120ab40b4b31f8168355a4cd344
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>
src/intel/blorp/blorp.c
src/intel/blorp/blorp.h
src/intel/vulkan/anv_blorp.c
src/mesa/drivers/dri/i965/brw_blorp.c