summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-12-19 11:49:56 -0800
committerDylan Baker <dylan@pnwbakers.com>2016-12-19 11:49:56 -0800
commit64e04784e428b80993abe4760f78fed345fba07d (patch)
treec1021f7f9a48016b61bb653acfdf5afdc3e63d0e
parentbddd202440baefed95723f588905ace61edd15d8 (diff)
isl/docs: Fix line wrapping of tablefor-jason
Some literal blocks (blocks wrapped in ``) were cut across multiple lines, which was causing sphinx to emit warnings. This make the box slightly wider so the back ticks are not split and silences sphinx.
-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