panvk/csf: no need to sb wait on query begin

The spec says

  VUID-vkCmdBeginQueryIndexedEXT-None-00807
  All queries used by the command must be unavailable

and panvk_cmd_reset_occlusion_queries is synchronous.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32697>
This commit is contained in:
Chia-I Wu
2024-12-17 20:37:50 -08:00
committed by Marge Bot
parent 12ce26a1d1
commit 50a3b4765e

View File

@@ -62,9 +62,6 @@ panvk_cmd_begin_occlusion_query(struct panvk_cmd_buffer *cmd,
*/
struct cs_builder *b = panvk_get_cs_builder(cmd, PANVK_SUBQUEUE_FRAGMENT);
/* Ensure deferred sync is completed */
cs_wait_slot(b, SB_ID(DEFERRED_SYNC), false);
struct cs_index report_addr_gpu = cs_scratch_reg64(b, 0);
struct cs_index clear_value = cs_scratch_reg64(b, 2);
cs_move64_to(b, report_addr_gpu, report_addr);