summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-01-21 10:50:13 -0500
committerRob Clark <[email protected]>2019-01-22 16:33:27 -0500
commit1ce5d757d04ab91423d757811c712ab098a35ccc (patch)
treee93069ccedacadf9fcb4a224db979c696833133b /src/gallium/drivers/freedreno/freedreno_screen.h
parentc56fe4118a2dd991ff1b2a532c0f234eddd435e9 (diff)
freedreno: core buffer modifier support
Split out of a patch from Fritz Koenig to decouple from a6xx UBWC enablement, and added fd_resource_create_with_modifiers().
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h
index 243770ffd90..1060f4609f6 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.h
+++ b/src/gallium/drivers/freedreno/freedreno_screen.h
@@ -87,6 +87,7 @@ struct fd_screen {
*/
struct fd_pipe *pipe;
+ uint32_t (*fill_ubwc_buffer_sizes)(struct fd_resource *rsc);
uint32_t (*setup_slices)(struct fd_resource *rsc);
unsigned (*tile_mode)(const struct pipe_resource *prsc);