docs/panfrost: use c:func-role for function

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29902>
This commit is contained in:
Erik Faye-Lund 2024-06-25 20:31:03 +02:00 committed by Marge Bot
parent a5f892b5cb
commit 577b9efa75

View file

@ -51,9 +51,9 @@ high bits padded_num_vertices
111x :math:`2^{n+4}`
========== =======================
For example, if :math:`\text{num_vertices} = 70` is passed to glDraw(),
its binary representation is 1000110, so :math:`n = 3` and the high bits
are 1000, and therefore
For example, if :math:`\text{num_vertices} = 70` is passed to
:c:func:`glDraw()`, its binary representation is 1000110, so :math:`n = 3`
and the high bits are 1000, and therefore
:math:`\text{padded_num_vertices} = 9 \cdot 2^3 = 72`.
The attribute unit works in terms of the original linear_id. if