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_screen.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_screen.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h index d5e497d4f65..5a825763f24 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.h +++ b/src/gallium/drivers/freedreno/freedreno_screen.h @@ -80,6 +80,8 @@ struct fd_screen { */ struct fd_pipe *pipe; + uint32_t (*setup_slices)(struct fd_resource *rsc); + int64_t cpu_gpu_time_delta; struct fd_batch_cache batch_cache; |