Skip to content

venus: add a missing barrier before copying query feedback

Yiwei Zhang requested to merge zzyiwei/mesa:vn-query-barrier-fix into main

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

Merge request reports