venus: add a missing barrier before copying query feedback
What does this MR do and why?
venus: add a missing barrier before copying query feedback
The 1st sync scope of vkCmdCopyQueryPoolResults is not sufficient to cover transfer writes against query feedback buffer. We must ensure ordering against prior query reset cmd where the feedback buffer fill gets injected.
Fixes: de4593fa ("venus: add query pool feedback cmds")
The 2nd commit is mainly a refactor.
Test on intel and mali:
- dEQP-VK.pipeline.monolithic.timestamp.*
- dEQP-VK.query_pool.*
- dEQP-VK.transform_feedback.*
Edited by Yiwei Zhang