diff options
author | Nicolai Hähnle <[email protected]> | 2017-07-26 19:16:14 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-08-02 09:37:10 +0200 |
commit | a677799e51a8d3651a8c963dac0a09ff0b282d63 (patch) | |
tree | 3fbed65a794ade42a0c86f025bdd21485a21ae0a /src/gallium/docs/source/context.rst | |
parent | f444ac5e6026d58b77ffada92698773127c734cd (diff) |
gallium: add PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE and corresponding cap
v2: rename cap to PIPE_CAP_QUERY_SO_OVERFLOW and be a bit more explicit
in the documentation
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/context.rst')
-rw-r--r-- | src/gallium/docs/source/context.rst | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index a46131c31fe..7002802248e 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -428,9 +428,17 @@ XXX the 2nd value is equivalent to ``PIPE_QUERY_PRIMITIVES_GENERATED`` but it is unclear if it should be increased if stream output is not active. ``PIPE_QUERY_SO_OVERFLOW_PREDICATE`` returns a boolean value indicating -whether the stream output targets have overflowed as a result of the +whether a selected stream output target has overflowed as a result of the commands issued between ``begin_query`` and ``end_query``. -This query can be used with ``render_condition``. +This query can be used with ``render_condition``. The output stream is +selected by the stream number passed to ``create_query``. + +``PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE`` returns a boolean value indicating +whether any stream output target has overflowed as a result of the commands +issued between ``begin_query`` and ``end_query``. This query can be used +with ``render_condition``, and its result is the logical OR of multiple +``PIPE_QUERY_SO_OVERFLOW_PREDICATE`` queries, one for each stream output +target. ``PIPE_QUERY_GPU_FINISHED`` returns a boolean value indicating whether all commands issued before ``end_query`` have completed. However, this |