mesa/src/imagination
Icenowy Zheng 049caf1696 pvr: only specially handle gfx subcmd for BeginQuery
Among all subcommands, only gfx subcommands are bound to a query pool,
other subcommands seem to need no special handling.

In addition, if a ResetQuery is done before BeginQuery, the last
subcommand will be a event one, which fails the current assert that
assumes it's a gfx one.

Change the assertion of the subcommand being a gfx one to an addition
check of whether the subcommand is a gfx one.

This fixes crash of Vulkan CTS 1.4.5.1 test
dEQP-VK.query_pool.discard.normal.no_depth.none.discard .

Backport-to: 26.0
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
(cherry picked from commit 5a497316d4)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40359>
2026-03-11 23:21:08 +01:00
..
ci pvr: fix format table properties duplicate 2026-02-25 14:22:24 +01:00
common pvr: disable has_gs_rta_support for ge7800 as well 2025-12-11 18:52:36 +00:00
csbgen pvr/csbgen: fix packing multiple addresses 2026-01-28 16:18:00 +01:00
include pvr: Fix the isp samples per tile calculation 2026-02-04 18:39:33 +01:00
pco pco: Fix for atomic operations on an image buffer 2026-01-28 16:18:00 +01:00
vulkan pvr: only specially handle gfx subcmd for BeginQuery 2026-03-11 23:21:08 +01:00
.clang-format pvr: remove unused macros 2025-11-11 10:13:11 +01:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build pvr: drop legacy rogue compiler 2025-09-16 18:26:10 +00:00