mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 01:40:36 +01:00
st/clover: Add event to deps even if it has been triggered
The command is submitted once the event has been triggered, but it might not have completed yet. Therefore, we have to add it to deps in order to wait on it. Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
4a3505d548
commit
ef6ed7220a
1 changed files with 1 additions and 1 deletions
|
|
@ -58,8 +58,8 @@ _cl_event::chain(clover::event *ev) {
|
|||
if (wait_count) {
|
||||
ev->wait_count++;
|
||||
__chain.push_back(ev);
|
||||
ev->deps.push_back(this);
|
||||
}
|
||||
ev->deps.push_back(this);
|
||||
}
|
||||
|
||||
hard_event::hard_event(clover::command_queue &q, cl_command_type command,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue