summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2013-05-25 09:14:57 -0400
committerZack Rusin <zackr@vmware.com>2013-05-25 09:49:20 -0400
commit26fe24c47975f1484c193617a18cd2a9cdb65eb4 (patch)
treeef7c2351ce06ad29a963ca2b4f723f733d287667 /src/gallium/docs
parent4b5595b38b3884531624fab6def7c604e92d0914 (diff)
downloadexternal_mesa3d-26fe24c47975f1484c193617a18cd2a9cdb65eb4.zip
external_mesa3d-26fe24c47975f1484c193617a18cd2a9cdb65eb4.tar.gz
external_mesa3d-26fe24c47975f1484c193617a18cd2a9cdb65eb4.tar.bz2
gallium/docs: adds documentation for multi viewport cap
Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/screen.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index 2630491..683080c 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -164,6 +164,10 @@ The integer capabilities:
for permutational swizzles.
* ``PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE``: The maximum accessible size with
a buffer sampler view, in bytes.
+* ``PIPE_CAP_MAX_VIEWPORTS``: The maximum number of viewports (and scissors
+ since they are linked) a driver can support. Returning 0 is equivalent
+ to returning 1 because every driver has to support at least a single
+ viewport/scissor combination.
.. _pipe_capf: