From: Keith Whitwell Date: Fri, 20 Aug 2010 10:38:33 +0000 (+0100) Subject: gallium/docs: notes on scissor state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc3cff2a4fbc690d7dcaf81cb821093950efee31;p=mesa.git gallium/docs: notes on scissor state --- diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index f241411a002..8250c30f2ab 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -63,7 +63,9 @@ objects. They all follow simple, one-method binding calls, e.g. * ``set_scissor_state`` sets the bounds for the scissor test, which culls pixels before blending to render targets. If the :ref:`Rasterizer` does not have the scissor test enabled, then the scissor bounds never need to - be set since they will not be used. + be set since they will not be used. Note that scissor xmin and ymin are + inclusive, but xmax and ymax are exclusive. The inclusive ranges in x + and y would be [xmin..xmax-1] and [ymin..ymax-1]. * ``set_viewport_state``