sync with OpenBSD -current

This commit is contained in:
purplerain 2024-04-29 00:35:41 +00:00
parent 5d45cd7ee8
commit 155eb8555e
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
5506 changed files with 1786257 additions and 1416034 deletions

View file

@ -877,6 +877,27 @@ 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``.
.. _get_compute_state_subgroup_size:
get_compute_state_subgroup_size
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This function returns the choosen subgroup size when `launch_grid` is
called with the given block size. This doesn't need to be implemented when
only one size is reported through ``PIPE_COMPUTE_CAP_SUBGROUP_SIZES`` or
``pipe_compute_state_object_info::simd_sizes``.
Mipmap generation
^^^^^^^^^^^^^^^^^