mesa/src/imagination/vulkan
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
..
pds pvr: Add PVR_DW_TO_BYTES() 2023-04-25 12:55:43 +00:00
usc pvr: Compile SPM EOT shader 2023-07-14 10:45:49 +00:00
winsys pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
meson.build meson: support installation tags 2023-09-11 13:00:45 +00:00
pvr_blit.c pvr: Fix csb control stream extension 2023-06-21 17:44:53 +00:00
pvr_blit.h pvr: Publicise some static functions from pvr_blit.c 2023-06-02 14:43:24 +00:00
pvr_bo.c pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_bo.h pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_border.c pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_border.h pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_clear.c pvr: Fix csb control stream extension 2023-06-21 17:44:53 +00:00
pvr_clear.h pvr: Publicise some static functions from pvr_blit.c 2023-06-02 14:43:24 +00:00
pvr_cmd_buffer.c pvr: Fix packing issue with max_{x,y}_clip 2023-07-27 11:03:41 +00:00
pvr_common.h pvr: Transfer optimisation remove unused features from API 2023-05-17 08:18:26 +00:00
pvr_csb.c pvr: Zero tail of cs buffers after linking when dumping cs 2023-08-30 14:30:15 +00:00
pvr_csb.h pvr: Fix csb control stream extension 2023-06-21 17:44:53 +00:00
pvr_csb_enum_helpers.h pvr: Setup ZLS depth and stencil load/store separately 2023-06-28 11:14:10 +00:00
pvr_descriptor_set.c pvr: Fix typo causing seg faults copying immutable samplers 2023-06-05 13:06:57 +00:00
pvr_device.c pvr: Add VK_KHR_driver_properties 2023-09-07 11:35:05 +00:00
pvr_dump_bo.c pvr: Return VkResult from winsys buffer_map operation 2023-05-18 15:56:59 +00:00
pvr_dump_bo.h pvr: debug: Add "cs" debug option to dump control stream on job submit 2022-11-25 16:42:55 +00:00
pvr_dump_csb.c pvr: Do not require TA_STATE_HEADER.pres_ispctl_dbsc for {db,sc}enable 2023-08-30 14:30:15 +00:00
pvr_formats.c pvr: Implement VK_KHR_format_feature_flags2 2023-09-05 13:15:30 +00:00
pvr_formats.h pvr: Transfer optimisation remove unused features from API 2023-05-17 08:18:26 +00:00
pvr_hardcode.c pvr: Rename temps_count to pds_temps_count 2023-06-07 18:01:02 +00:00
pvr_hardcode.h pvr: stop restricting the compiler to the Sascha Willems triangle demo 2023-02-25 22:58:25 +00:00
pvr_hw_pass.c pvr: Fix allocation scopes in vkCreateRenderPass2() code path 2023-05-30 10:43:06 +01:00
pvr_hw_pass.h pvr: Remove component_alignment 2023-02-24 14:36:36 +00:00
pvr_image.c pvr: Add pvr_image_view_get_image() 2023-06-02 14:43:24 +00:00
pvr_job_common.c pvr: PBE fix mesa pipe swizzle conversion 2023-05-17 08:18:25 +00:00
pvr_job_common.h pvr: Remove unused msaa_mode field 2023-02-24 14:36:36 +00:00
pvr_job_compute.c pvr: Rename rogue_fw.xml -> rogue_kmd_stream.xml. 2023-06-28 22:26:07 +00:00
pvr_job_compute.h pvr: Use common queue submit implementation 2023-02-28 21:39:49 +00:00
pvr_job_context.c pvr: Fix incorrect error handling in pvr_render_ctx_switch_init() 2023-05-18 15:56:59 +00:00
pvr_job_context.h pvr: switch pvr_gpu_upload_* to use pvr_bo_suballoc 2023-05-16 11:53:08 +01:00
pvr_job_render.c pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_job_render.h pvr: Submit PR commands 2023-07-14 10:45:49 +00:00
pvr_job_transfer.c pvr: Remove some magic numbers and increments from km stream 2023-07-14 10:45:49 +00:00
pvr_job_transfer.h pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00
pvr_limits.h pvr: Add support for dynamic buffers descriptors 2023-02-23 16:26:51 +00:00
pvr_pass.c pvr: Fix vk_free() in vkCreateRenderPass2() error path 2023-05-18 10:05:26 +00:00
pvr_pipeline.c pvr: clang-format fixes 2023-07-13 10:23:32 +00:00
pvr_pipeline_cache.c
pvr_private.h pvr: Print VkStructureType name on pvr_debug_ignored_stype() 2023-08-10 15:38:38 +00:00
pvr_query.c pvr: Use correct index when writing query availability data 2023-09-13 12:47:09 +00:00
pvr_query_compute.c pvr: Use the correct size for the unified store allocation 2023-07-19 12:22:30 +00:00
pvr_queue.c pvr: Fix occlusion query unaccounted for user fences 2023-07-19 12:22:30 +00:00
pvr_robustness.c pvr: clang-format fixes 2023-07-13 10:23:32 +00:00
pvr_robustness.h pvr: Add robustness buffer support 2023-03-27 18:36:32 +00:00
pvr_shader.c pvr: Add new Rogue compiler framework 2023-02-08 15:15:17 +00:00
pvr_shader.h pvr: Add new Rogue compiler framework 2023-02-08 15:15:17 +00:00
pvr_spm.c pvr: cleanup SPM EOT dynarray after upload 2023-07-19 12:06:32 +00:00
pvr_spm.h pvr: Compile SPM EOT shader 2023-07-14 10:45:49 +00:00
pvr_tex_state.c pvr: decouple vulkan driver and compiler from gallium 2023-08-03 07:29:35 +00:00
pvr_tex_state.h pvr: Select a single aspect format for the texture state of DS image views 2023-03-20 14:47:34 +00:00
pvr_transfer_frag_store.c pvr: Transfer optimisation remove unused features from API 2023-05-17 08:18:26 +00:00
pvr_transfer_frag_store.h pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00
pvr_wsi.c pvr: Rename primary_{device,fd,path} to display_* 2023-05-18 15:56:59 +00:00
vk_format.h pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00