summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2013-03-29 14:30:49 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2013-04-03 12:54:43 +0200
commitc620aad71c2fe147dd2435c27053b435801a5237 (patch)
treecde442d7bf3d8d995c9bc087b20f7ef66fcfd8ca /src/gallium/docs
parentf35e96d973d57d31462bbbb0509b2350ebb2bd3b (diff)
downloadexternal_mesa3d-c620aad71c2fe147dd2435c27053b435801a5237.zip
external_mesa3d-c620aad71c2fe147dd2435c27053b435801a5237.tar.gz
external_mesa3d-c620aad71c2fe147dd2435c27053b435801a5237.tar.bz2
gallium/docs: fix definition of PIPE_QUERY_SO_STATISTICS
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/context.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst
index 9e57930..2cc1848 100644
--- a/src/gallium/docs/source/context.rst
+++ b/src/gallium/docs/source/context.rst
@@ -335,15 +335,17 @@ The result is a 64-bit integer specifying the timer resolution in Hz,
followed by a boolean value indicating whether the timer has incremented.
``PIPE_QUERY_PRIMITIVES_GENERATED`` returns a 64-bit integer indicating
-the number of primitives processed by the pipeline.
+the number of primitives processed by the pipeline (regardless of whether
+stream output is active or not).
``PIPE_QUERY_PRIMITIVES_EMITTED`` returns a 64-bit integer indicating
the number of primitives written to stream output buffers.
``PIPE_QUERY_SO_STATISTICS`` returns 2 64-bit integers corresponding to
-the results of
+the result of
``PIPE_QUERY_PRIMITIVES_EMITTED`` and
-``PIPE_QUERY_PRIMITIVES_GENERATED``, in this order.
+the number of primitives that would have been written to stream output buffers
+if they had infinite space available (primitives_storage_needed), in this order.
``PIPE_QUERY_SO_OVERFLOW_PREDICATE`` returns a boolean value indicating
whether the stream output targets have overflowed as a result of the