summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_resolve.c8
-rw-r--r--src/gallium/drivers/iris/iris_resource.h5
2 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resolve.c b/src/gallium/drivers/iris/iris_resolve.c
index a46d7bf45b3..0d914d212a3 100644
--- a/src/gallium/drivers/iris/iris_resolve.c
+++ b/src/gallium/drivers/iris/iris_resolve.c
@@ -986,6 +986,14 @@ iris_resource_texture_aux_usage(struct iris_context *ice,
return ISL_AUX_USAGE_NONE;
}
+enum isl_aux_usage
+iris_image_view_aux_usage(struct iris_context *ice,
+ const struct pipe_image_view *pview,
+ const struct shader_info *info)
+{
+ return ISL_AUX_USAGE_NONE;
+}
+
static bool
isl_formats_are_fast_clear_compatible(enum isl_format a, enum isl_format b)
{
diff --git a/src/gallium/drivers/iris/iris_resource.h b/src/gallium/drivers/iris/iris_resource.h
index d3489aa3659..6a55c387fe3 100644
--- a/src/gallium/drivers/iris/iris_resource.h
+++ b/src/gallium/drivers/iris/iris_resource.h
@@ -31,6 +31,7 @@
struct iris_batch;
struct iris_context;
+struct shader_info;
#define IRIS_MAX_MIPLEVELS 15
@@ -463,6 +464,10 @@ void iris_resource_prepare_texture(struct iris_context *ice,
uint32_t start_level, uint32_t num_levels,
uint32_t start_layer, uint32_t num_layers);
+enum isl_aux_usage iris_image_view_aux_usage(struct iris_context *ice,
+ const struct pipe_image_view *pview,
+ const struct shader_info *info);
+
static inline bool
iris_resource_unfinished_aux_import(struct iris_resource *res)
{