From 3cd28fe3de203934f2bab33cce7a91da499c7376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Tue, 19 Jul 2016 13:07:24 +0200 Subject: gallium: add a cap for VIEWPORT_SUBPIXEL_BITS (v2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows Gallium drivers to advertise the subpixel precision for floating point viewports bounds. v2: - Set ViewportSubpixelBits in st_init_limits. Signed-off-by: Józef Kucia Signed-off-by: Marek Olšák Reviewed-by: Ilia Mirkin --- src/gallium/docs/source/screen.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/docs') diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 141b45a..34f2e72 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -345,6 +345,8 @@ The integer capabilities: supported in ``set_window_rectangles``. * ``PIPE_CAP_POLYGON_OFFSET_UNITS_UNSCALED``: If true, the driver implements support for ``pipe_rasterizer_state::offset_units_unscaled``. +* ``PIPE_CAP_VIEWPORT_SUBPIXEL_BITS``: Number of bits of subpixel precision for + floating point viewport bounds. .. _pipe_capf: -- cgit v1.1