mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 04:28:10 +02:00
With the threaded submit code, there's a small window where the fence can be signalled but the buffer lists cleanup code from amdgpu_cs_submit_ib has not executed yet. This is harmless in general, because num_active_ioctls is an optimization. When the glFinish is called though, it's best to avoid this inconsistencies because it can create odd behavior as shown by the flakes being fixed by this commit. The test runs a query, uses glFinish and expect the results to be available. Since results availability depends on num_active_ioctls, it made the test flaky. Fix this by syncing when PIPE_FLUSH_HINT_FINISH is set. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36930> |
||
|---|---|---|
| .. | ||
| addrlib | ||
| ci | ||
| common | ||
| compiler | ||
| drm-shim | ||
| gmlib | ||
| lanczoslib | ||
| llvm | ||
| registers | ||
| vpelib | ||
| vulkan | ||
| meson.build | ||