mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
anv: Add comment to anv_state->offset
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>
This commit is contained in:
parent
a90d8fc08e
commit
d728c97022
1 changed files with 3 additions and 0 deletions
|
|
@ -775,6 +775,9 @@ anv_block_pool_size(struct anv_block_pool *pool)
|
|||
}
|
||||
|
||||
struct anv_state {
|
||||
/* The offset within the VA of the anv_state_pool of this anv_state.
|
||||
* offset = <actual VMA address> - <anv_state_pool->anv_block_pool.start_address> - <anv_state_pool->start_offset>
|
||||
*/
|
||||
int64_t offset;
|
||||
uint32_t alloc_size;
|
||||
uint32_t idx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue