diff options
author | Andres Rodriguez <[email protected]> | 2017-12-19 19:31:41 -0500 |
---|---|---|
committer | Andres Rodriguez <[email protected]> | 2018-01-30 15:13:49 -0500 |
commit | 50b06cbc10dbca1dfee89b529ba9b564cc4ea6f6 (patch) | |
tree | dfa26f5cd7894174c12c1b5abb67684120a002c1 /src/mesa/swrast/s_atifragshader.h | |
parent | e0f16ee6663ee2dc71e49c59f27e087700740dfa (diff) |
radeonsi: fix fence_server_sync() holding up extra work v2
When calling si_fence_server_sync(), the wait operation is associated
with the next kernel submission. Therefore, any unflushed work
submitted previous to fence_server_sync() will also be affected by
the wait.
To avoid adding the dependency to the unflushed work, we flush before
emitting the fence dependency.
v2: s/semaphore/fence
Signed-off-by: Andres Rodriguez <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_atifragshader.h')
0 files changed, 0 insertions, 0 deletions