diff options
author | Brian Paul <[email protected]> | 2011-01-18 16:34:22 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-01-19 07:41:55 -0700 |
commit | 34613c66acb6143719315d409f167124c78f5cde (patch) | |
tree | b9870a54a26379c7f19849192281279130569aec /src | |
parent | a5da4acb9583db5289fcad410513d0fedcf9bab2 (diff) |
gallium/docs: document result type for some types of queries
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/docs/source/context.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index c33cf7c5738..6760e7be4b9 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -232,9 +232,11 @@ The most common type of query is the occlusion query, ``PIPE_QUERY_OCCLUSION_COUNTER``, which counts the number of fragments which are written to the framebuffer without being culled by :ref:`Depth, Stencil, & Alpha` testing or shader KILL instructions. +The result is an unsigned 64-bit integer. Another type of query, ``PIPE_QUERY_TIME_ELAPSED``, returns the amount of time, in nanoseconds, the context takes to perform operations. +The result is an unsigned 64-bit integer. Gallium does not guarantee the availability of any query types; one must always check the capabilities of the :ref:`Screen` first. |