mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
anv: add a comment describing has_relocs field
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8934>
This commit is contained in:
parent
2ef3dca476
commit
e93344288b
1 changed files with 5 additions and 0 deletions
|
|
@ -1110,6 +1110,11 @@ struct anv_execbuf {
|
|||
/* Allocated length of the 'objects' and 'bos' arrays */
|
||||
uint32_t array_length;
|
||||
|
||||
/* Indicates whether any of the command buffers have relocations. This
|
||||
* doesn't not necessarily mean we'll need the kernel to process them. It
|
||||
* might be that a previous execbuf has already placed things in the VMA
|
||||
* and we can make i915 skip the relocations.
|
||||
*/
|
||||
bool has_relocs;
|
||||
|
||||
const VkAllocationCallbacks * alloc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue