mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
hasvk: don't leave undefined values in exec->syncobj_values
This is the Hasvk version of Anv's:ad6a036a68("anv: don't leave undefined values in exec->syncobj_values") 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 commit80196aaa5b)
This commit is contained in:
parent
a9156d823b
commit
5a22e9cf4c
2 changed files with 2 additions and 2 deletions
|
|
@ -5674,7 +5674,7 @@
|
|||
"description": "hasvk: don't leave undefined values in exec->syncobj_values",
|
||||
"nominated": false,
|
||||
"nomination_type": null,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1616,7 +1616,7 @@ anv_execbuf_add_syncobj(struct anv_device *device,
|
|||
.handle = syncobj,
|
||||
.flags = flags,
|
||||
};
|
||||
if (timeline_value)
|
||||
if (exec->syncobj_values)
|
||||
exec->syncobj_values[exec->syncobj_count] = timeline_value;
|
||||
|
||||
exec->syncobj_count++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue