From 64e04784e428b80993abe4760f78fed345fba07d Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 19 Dec 2016 11:49:56 -0800 Subject: isl/docs: Fix line wrapping of table 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. --- src/intel/isl/docs/formats.rst | 49 ++++++++++++++++++++---------------------- 1 file 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 -- cgit v1.2.3