diff options
author | Danylo Piliaiev <dpiliaiev@igalia.com> | 2022-04-05 12:41:10 +0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-04-07 08:01:59 +0000 |
commit | dde1623ed2a57156013b10056461f15e8e78957f (patch) | |
tree | a2635807d690f4f4b538e4e414a1567c2d1b5985 /docs | |
parent | 5ac8f10ec3d0a206f4e08605a599d20b8c87cf8e (diff) |
turnip: Implement VK_EXT_primitives_generated_query
Similar to pipeline statistics but done for a single counter.
We use REG_A6XX_RBBM_PRIMCTR_7 to get generated primitives
and not PRIMCTR_8 because PRIMCTR_7 counts pre-clipped prims
while PRIMCTR_8 counts them after clipping.
OpenGL spec for GL_PRIMITIVES_GENERATED says:
"Subsequent rendering will increment the counter once for every
vertex that is emitted from the geometry shader, or from the
vertex shader if no geometry shader is present."
Passes tests:
dEQP-VK.transform_feedback.primitives_generated_query.*
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15746>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/features.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/features.txt b/docs/features.txt index e688333fe54..c37784369ef 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -560,7 +560,7 @@ Khronos extensions that are not part of any Vulkan version: VK_EXT_physical_device_drm DONE (anv, radv, tu, v3dv) VK_EXT_post_depth_coverage DONE (anv/gfx10+, lvp, radv/gfx10+) VK_EXT_primitive_topology_list_restart DONE (anv, lvp, radv, tu) - VK_EXT_primitives_generated_query DONE (lvp) + VK_EXT_primitives_generated_query DONE (lvp, tu) VK_EXT_provoking_vertex DONE (anv, lvp, radv, tu, v3dv) VK_EXT_queue_family_foreign DONE (anv, radv, vn) VK_EXT_robustness2 DONE (anv, radv, tu) |