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:
parent
9c63ec26ea
commit
76f9ca6cf9
|
@ -532,7 +532,7 @@ sample_with_hiz(const struct gen_device_info *devinfo,
|
||||||
* - 7.5.3.2 Depth Buffer Resolve
|
* - 7.5.3.2 Depth Buffer Resolve
|
||||||
* - 7.5.3.3 Hierarchical Depth Buffer Resolve
|
* - 7.5.3.3 Hierarchical Depth Buffer Resolve
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
iris_hiz_exec(struct iris_context *ice,
|
iris_hiz_exec(struct iris_context *ice,
|
||||||
struct iris_batch *batch,
|
struct iris_batch *batch,
|
||||||
struct iris_resource *res,
|
struct iris_resource *res,
|
||||||
|
|
|
@ -222,6 +222,13 @@ void iris_resource_disable_aux(struct iris_resource *res);
|
||||||
#define INTEL_REMAINING_LAYERS UINT32_MAX
|
#define INTEL_REMAINING_LAYERS UINT32_MAX
|
||||||
#define INTEL_REMAINING_LEVELS 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
|
* Prepare a miptree for access
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue