aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resolve.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2020-03-06 09:17:35 +0200
committerMarge Bot <[email protected]>2020-03-16 10:34:21 +0000
commitfe2baf72e7b8068cc0abce3f0bb9bd81565c8cf8 (patch)
tree92b5ed2786b68f0cbb154ff50801f449baf5f0f6 /src/gallium/drivers/iris/iris_resolve.c
parente8f0483ec408037ce7b7c6014674f13cc4461079 (diff)
iris: provide dummy iris_image_view_aux_usage
Similar to iris_resource_texture_aux_usage this function will determine proper aux_usage for image, now it will default to ISL_AUX_USAGE_NONE. v2: drop gen_device_info parameter, rename function (Nanley) Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Nanley Chery <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4080>
Diffstat (limited to 'src/gallium/drivers/iris/iris_resolve.c')
-rw-r--r--src/gallium/drivers/iris/iris_resolve.c8
1 files changed, 8 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)
{