summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.h
diff options
context:
space:
mode:
authorSagar Ghuge <[email protected]>2019-07-16 10:38:00 -0700
committerKenneth Graunke <[email protected]>2019-08-20 00:50:41 -0700
commit7e816991cc3c8baebbbff2f64e91202728c696e0 (patch)
treed20b03a0c0ae2a549ace682356eb6c7eb8828b24 /src/gallium/drivers/iris/iris_resource.h
parent58471e20d21dfd50f372a19675d8698cf61e3b7f (diff)
iris: Add helper function to get isl dim layout
v2: Add missing space (Caio) Signed-off-by: Sagar Ghuge <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.h')
-rw-r--r--src/gallium/drivers/iris/iris_resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.h b/src/gallium/drivers/iris/iris_resource.h
index a233d57e32b..707c559025c 100644
--- a/src/gallium/drivers/iris/iris_resource.h
+++ b/src/gallium/drivers/iris/iris_resource.h
@@ -392,6 +392,9 @@ iris_resource_access_raw(struct iris_context *ice,
}
}
+enum isl_dim_layout iris_get_isl_dim_layout(const struct gen_device_info *devinfo,
+ enum isl_tiling tiling,
+ enum pipe_texture_target target);
enum isl_aux_usage iris_resource_texture_aux_usage(struct iris_context *ice,
const struct iris_resource *res,
enum isl_format view_fmt,