mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 13:10:31 +01:00
Initialize bufmgr_gem->validate_array[i].offset.
This is just cosmetic, to produce less scary values when the ioctl fails and doesn't return values there.
This commit is contained in:
parent
1f810b85b1
commit
5290ec4756
1 changed files with 1 additions and 0 deletions
|
|
@ -228,6 +228,7 @@ intel_add_validate_buffer(dri_bo *bo)
|
|||
bufmgr_gem->validate_array[index].relocation_count = bo_gem->reloc_count;
|
||||
bufmgr_gem->validate_array[index].relocs_ptr = (uintptr_t)bo_gem->relocs;
|
||||
bufmgr_gem->validate_array[index].alignment = 0;
|
||||
bufmgr_gem->validate_array[index].buffer_offset = 0;
|
||||
bufmgr_gem->validate_bo[index] = bo;
|
||||
dri_bo_reference(bo);
|
||||
bufmgr_gem->validate_count++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue