Files
mesa/src/intel/vulkan
José Roberto de Souza a90d8fc08e anv/allocator: Subtract start_offset in chunk_offset
anv_state::offset in the context of anv_state_pool is equal to the offset from
the begining of block_pool + start_offset.
Like it is set in anv_state_pool_alloc_no_vg() in the path that allocs a new
block in anv_block_pool.

As anv_state_pool_return_chunk() expects only the offset from the begining of
anv_block_pool so here subtracting to make the path that grabs a larger chunk of
memory of the pool and split into smaler chunks to properly work.

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37669>
2025-10-08 17:26:42 +00:00
..
2024-12-02 21:56:39 +00:00
2025-09-24 00:34:50 +03:00
2025-10-02 20:22:00 +00:00
2025-10-02 20:22:00 +00:00
2025-09-03 08:12:28 +00:00
2025-02-05 09:56:03 +00:00
2025-09-04 13:25:26 +03:00