radv: Always flush before writing acceleration structure properties
authorFriedrich Vock <friedrich.vock@gmx.de>
Sat, 10 Jun 2023 20:01:46 +0000 (22:01 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sun, 11 Jun 2023 08:52:03 +0000 (08:52 +0000)
commit4181e144eff4dae4b84821e2a8b195d16ad393d6
tree79fe952d4e1c11439a142964873184f09c922e77
parent31fb75a08b00e167d78b94b89d6d34897b1042e9
radv: Always flush before writing acceleration structure properties

Equivalent of 284e604872 but for acceleration structure queries.
If an app inserts a barrier between AS builds and writing AS properties,
we must respect it or things will blow up.

Cc: mesa-stable
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23568>
src/amd/vulkan/radv_query.c