mesa/src/imagination
Vlad Schiller ae57b53c5d 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>
(cherry picked from commit ca9734c223)
2023-09-20 10:54:26 +01:00
..
common pvr: Always mark robustBufferAccess as supported 2023-03-27 18:36:32 +00:00
csbgen pvr: Add firmware stream support for transfer submit 2023-02-08 16:33:35 +00:00
include pvr: Check depth/stencil attachment is tile-aligned 2022-12-08 14:53:13 +00:00
rogue pvr: Add support for multiple emits from EOT program 2023-03-20 14:35:19 +00:00
vulkan pvr: Use correct index when writing query availability data 2023-09-20 10:54:26 +01: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