summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intel/isl/docs/formats.rst49
1 files changed, 23 insertions, 26 deletions
diff --git a/src/intel/isl/docs/formats.rst b/src/intel/isl/docs/formats.rst
index c42030883d..bbce8532df 100644
--- a/src/intel/isl/docs/formats.rst
+++ b/src/intel/isl/docs/formats.rst
@@ -20,32 +20,29 @@ data, not all data is color data and not all values are nicely bounded.
The following table gives an overview of the different encodings
frequently found in graphics APIs.
-+----------------------+--------------+-------------+-----------------------------+
-| Name | ISL base | Integer | Conversion |
-| | type | | |
-+======================+==============+=============+=============================+
-| Unsigned normalized | ``ISL_UNORM` | no | :math:`\frac{{\tt(uint)} x} |
-| | ` | | {2^{bits} - 1}` |
-+----------------------+--------------+-------------+-----------------------------+
-| Signed normalized | ``ISL_SNORM` | no | :math:`\frac{{\tt(int)} x}{ |
-| | ` | | 2^{bits - 1} - 1}` |
-+----------------------+--------------+-------------+-----------------------------+
-| Unsigned float | ``ISL_UFLOAT | no | |
-| | `` | | |
-+----------------------+--------------+-------------+-----------------------------+
-| Signed float | ``ISL_SFLOAT | no | |
-| | `` | | |
-+----------------------+--------------+-------------+-----------------------------+
-| Unsigned fixed-point | ``ISL_UFIXED | no | :math:`\frac{{\tt(uint)} x} |
-| | `` | | {2^{16}}` |
-+----------------------+--------------+-------------+-----------------------------+
-| Signed fixed-point | ``ISL_SFIXED | no | :math:`\frac{{\tt(uint)} x} |
-| | `` | | {2^{16}}` |
-+----------------------+--------------+-------------+-----------------------------+
-| Unsigned integer | ``ISL_UINT`` | yes | |
-+----------------------+--------------+-------------+-----------------------------+
-| Signed integer | ``ISL_SINT`` | yes | |
-+----------------------+--------------+-------------+-----------------------------+
++----------------------+-----------------+-------------+-----------------------------+
+| Name | ISL base type | Integer | Conversion |
++======================+=================+=============+=============================+
+| Unsigned normalized | ``ISL_UNORM`` | no | :math:`\frac{{\tt(uint)} x} |
+| | | | {2^{bits} - 1}` |
++----------------------+-----------------+-------------+-----------------------------+
+| Signed normalized | ``ISL_SNORM`` | no | :math:`\frac{{\tt(int)} x}{ |
+| | | | 2^{bits - 1} - 1}` |
++----------------------+-----------------+-------------+-----------------------------+
+| Unsigned float | ``ISL_UFLOAT`` | no | |
++----------------------+-----------------+-------------+-----------------------------+
+| Signed float | ``ISL_SFLOAT`` | no | |
++----------------------+-----------------+-------------+-----------------------------+
+| Unsigned fixed-point | ``ISL_UFIXED`` | no | :math:`\frac{{\tt(uint)} x} |
+| | | | {2^{16}}` |
++----------------------+-----------------+-------------+-----------------------------+
+| Signed fixed-point | ``ISL_SFIXED`` | no | :math:`\frac{{\tt(uint)} x} |
+| | | | {2^{16}}` |
++----------------------+-----------------+-------------+-----------------------------+
+| Unsigned integer | ``ISL_UINT`` | yes | |
++----------------------+-----------------+-------------+-----------------------------+
+| Signed integer | ``ISL_SINT`` | yes | |
++----------------------+-----------------+-------------+-----------------------------+
The integer encodings are simply a signed or unsigned integer of a
particular bit-size. The normalized and fixed-point encodings are both