summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_resource.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_resource.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_resource.h b/src/gallium/drivers/panfrost/pan_resource.h
index 3814c2b27eb..e51ba8959c3 100644
--- a/src/gallium/drivers/panfrost/pan_resource.h
+++ b/src/gallium/drivers/panfrost/pan_resource.h
@@ -112,6 +112,13 @@ void panfrost_resource_screen_init(struct panfrost_screen *screen);
void panfrost_resource_context_init(struct pipe_context *pctx);
+void
+panfrost_resource_hint_layout(
+ struct panfrost_screen *screen,
+ struct panfrost_resource *rsrc,
+ enum panfrost_memory_layout layout,
+ signed weight);
+
/* AFBC */
bool