mesa/src/imagination
Vlad Schiller ca9734c223 pvr: Use correct index when writing query availability data
The availability data would be written to a different location in
the user provided buffer depending on whether the query for a given
index was available. Fix this by using fixed indicies when writing
the query and availability data.

Fixes conformance failures seen in the
dEQP-VK.query_pool.occlusion_query.get_reset_* test group when
implementing VK_EXT_host_query_reset.

Fixes: 279c7c6d5a ("pvr: Implement vkGetQueryPoolResults API.")
Signed-off-by: Vlad Schiller <vlad-radu.schiller@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25116>
2023-09-13 12:47:09 +00:00
..
common pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
csbgen pvr: Restructure rogue_kmd_stream.xml 2023-07-14 10:45:49 +00:00
include pvr: Move pvr_get_isp_num_tiles_xy() to rogue_hw_utils.h 2023-06-02 14:43:24 +00:00
rogue nir: Drop nir_instr_rewrite_src() 2023-08-18 01:00:15 +00:00
vulkan pvr: Use correct index when writing query availability data 2023-09-13 12:47:09 +00:00
.clang-format pvr: Add support for validating modifier combos 2023-02-24 11:29:48 +00: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