mesa/src/broadcom
Iago Toral Quiroga 7a65b3f006 v3dv: reimplement occlusion queries
Our implementation was mostly CPU-based, with things such as query
resets and result copying handled in the CPU, as well as some aspects
of query availability tracking.

This new implementation handles all GPU-side query functions by
dispatching compute shaders to push the work to the GPU. This
involves query availability, reset and result copying.

For now, only occlusion queries are managed this way. Performance
queries can also be implemented in a similar fashion in the future
with some additional work, however, for timestamp queries our only
option to improve this would be to execute the actual timestamp in the
kernel, since we can't take a timestamp from a shader.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19770>
2022-11-24 12:21:59 +00:00
..
ci ci/vc4,v3d: Add headless wayland testing using weston. 2022-11-22 21:28:02 +00:00
cle broadcom: fix dependencies in static_library() calls 2022-09-14 09:38:28 +00:00
clif v3d/clif: add support for dumping GS shader state 2021-10-13 21:23:10 +00:00
common tree-wide: Convert all usage of defined(PIPE_(OS|ARCH|CC)_*) to DETECT_(OS|ARCH|CC)_* by use grep 2022-11-15 20:35:55 +00:00
compiler broadcom/compiler: avoid using ldvary sequence to hide latency of branching 2022-11-09 20:51:25 +00:00
drm-shim vc4: add DRM_VC4_CREATE_SHADER_BO support to drm-shim 2022-11-08 21:23:27 +00:00
qpu broadcom/compiler: detect unifa write from signal 2022-09-20 06:56:28 +00:00
simulator broadcom/simulator: add a helper to get the amount of free heap memory 2022-09-09 11:14:03 +00:00
vulkan v3dv: reimplement occlusion queries 2022-11-24 12:21:59 +00:00
.editorconfig broadcom: add editorconfig 2017-07-25 14:44:52 -07:00
meson.build meson: drop duplicate lib in lib name 2022-08-22 08:35:41 +00:00