diff options
author | Jason Ekstrand <[email protected]> | 2020-05-04 17:27:22 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-08 16:54:17 +0000 |
commit | d11e4738a86ecac6bb4cfaf5cad5c1d32169b18f (patch) | |
tree | 5e8b69138b575968381a307d9702817a67684224 /src/util/rounding.h | |
parent | 772b15ad3227e08bb4e18932ac9ecf4c29271160 (diff) |
anv/allocator: Add a start_offset to anv_state_pool
This allows a pool's allocations to start somewhere other than the base
address. Our first real use of this will be to use a negative offset
for the binding table pool to make it so that the offset is baked into
the pool and the code in anv_batch_chain.c doesn't have to understand
pool offsetting.
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4897>
Diffstat (limited to 'src/util/rounding.h')
0 files changed, 0 insertions, 0 deletions