iris: Make intel_hiz_exec public.

Need to use it for fast clearing depth buffers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Rafael Antognolli
2019-02-26 11:56:32 -08:00
committed by Kenneth Graunke
parent 9c63ec26ea
commit 76f9ca6cf9
2 changed files with 8 additions and 1 deletions

View File

@@ -222,6 +222,13 @@ void iris_resource_disable_aux(struct iris_resource *res);
#define INTEL_REMAINING_LAYERS UINT32_MAX
#define INTEL_REMAINING_LEVELS UINT32_MAX
void
iris_hiz_exec(struct iris_context *ice,
struct iris_batch *batch,
struct iris_resource *res,
unsigned int level, unsigned int start_layer,
unsigned int num_layers, enum isl_aux_op op);
/**
* Prepare a miptree for access
*