diff options
author | Rob Clark <[email protected]> | 2018-01-14 08:57:29 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-01-14 16:10:06 -0500 |
commit | 16b91c2254b1287b135ee363f9f669c5595ebdaf (patch) | |
tree | dc997d380763ef249f32f3d53c7ee77d3cf905ff /src/gallium/drivers/freedreno/freedreno_resource.h | |
parent | 047c6fe2c59712aa4db909ff3b3653009cd693bf (diff) |
freedreno: add screen->setup_slices() for tex layout
The rules are sufficiently different for a5xx with tiled textures, so
split this out into something that can be implemented per-generation.
The a5xx specific implementation will come in a later patch.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_resource.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_resource.h b/src/gallium/drivers/freedreno/freedreno_resource.h index 5132c58a0db..0b41a13be33 100644 --- a/src/gallium/drivers/freedreno/freedreno_resource.h +++ b/src/gallium/drivers/freedreno/freedreno_resource.h @@ -171,6 +171,7 @@ void fd_blitter_pipe_end(struct fd_context *ctx); void fd_resource_screen_init(struct pipe_screen *pscreen); void fd_resource_context_init(struct pipe_context *pctx); +uint32_t fd_setup_slices(struct fd_resource *rsc); void fd_resource_resize(struct pipe_resource *prsc, uint32_t sz); bool fd_render_condition_check(struct pipe_context *pctx); |