docs: add missing get_compute_state_info documentation
authorKarol Herbst <git@karolherbst.de>
Sat, 6 May 2023 19:03:53 +0000 (21:03 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Jul 2023 12:27:35 +0000 (12:27 +0000)
Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22893>

docs/gallium/context.rst

index 507a6c0..e88cdc9 100644 (file)
@@ -877,6 +877,17 @@ program: ``bind_sampler_states`` may be used to set up texture
 samplers for the compute stage and ``set_sampler_views`` may
 be used to bind a number of sampler views to it.
 
+Compute kernel queries
+^^^^^^^^^^^^^^^^^^^^^^
+
+.. _get_compute_state_info:
+
+get_compute_state_info
+%%%%%%%%%%%%%%%%%%%%%%
+
+This function allows frontends to query kernel information defined inside
+``pipe_compute_state_object_info``.
+
 Mipmap generation
 ^^^^^^^^^^^^^^^^^