radv: Always call si_emit_cache_flush before writing timestamps
authorFriedrich Vock <friedrich.vock@gmx.de>
Wed, 3 May 2023 11:52:44 +0000 (13:52 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 3 May 2023 15:24:00 +0000 (15:24 +0000)
commit284e604872205dfce528b7d764f3698478b693f5
tree736461ca594f890c06baae0a835e75b60f3ad7bf
parentb59935e2e77ed6ccf210103b028d671ee277a607
radv: Always call si_emit_cache_flush before writing timestamps

In case of barriers with TOP_OF_PIPE as dst stage, writing timestamps
immediately would be invalid.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22823>
src/amd/vulkan/radv_query.c