From 577b9efa7554d3e5c2b58f06c5a2e8fd628f6642 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 25 Jun 2024 20:31:03 +0200 Subject: [PATCH] docs/panfrost: use c:func-role for function Part-of: --- docs/drivers/panfrost/instancing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/drivers/panfrost/instancing.rst b/docs/drivers/panfrost/instancing.rst index 66d5e4c4f0d..581484160d6 100644 --- a/docs/drivers/panfrost/instancing.rst +++ b/docs/drivers/panfrost/instancing.rst @@ -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