mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
hasvk: check the return value of anv_execbuf_add_bo_bitset()
This is the Hasvk version of Anv's:3d37950fd9("anv: check the return value of anv_execbuf_add_bo_bitset()") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20800> (cherry picked from commit5039acfd9d)
This commit is contained in:
parent
60f75a013e
commit
321d470c92
2 changed files with 6 additions and 4 deletions
|
|
@ -1525,7 +1525,7 @@
|
|||
"description": "hasvk: check the return value of anv_execbuf_add_bo_bitset()",
|
||||
"nominated": false,
|
||||
"nomination_type": null,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1692,9 +1692,11 @@ setup_execbuf_for_cmd_buffer(struct anv_execbuf *execbuf,
|
|||
return result;
|
||||
} else {
|
||||
/* Add surface dependencies (BOs) to the execbuf */
|
||||
anv_execbuf_add_bo_bitset(cmd_buffer->device, execbuf,
|
||||
cmd_buffer->surface_relocs.dep_words,
|
||||
cmd_buffer->surface_relocs.deps, 0);
|
||||
result = anv_execbuf_add_bo_bitset(cmd_buffer->device, execbuf,
|
||||
cmd_buffer->surface_relocs.dep_words,
|
||||
cmd_buffer->surface_relocs.deps, 0);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
}
|
||||
|
||||
/* First, we walk over all of the bos we've seen and add them and their
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue