[Mesa-dev] [PATCH] brw_clear: fix noop_scissor range issue on width/height

Matt Turner mattst88 at gmail.com
Wed Aug 31 20:09:30 UTC 2016


On Wed, Aug 31, 2016 at 1:05 PM, Matt Turner <mattst88 at gmail.com> wrote:
> From: Jordan Justen <jordan.l.justen at intel.com>
>
> If scissor X or Y was set to a negative value then the previous
> code might have indicated noop scissors when the scissor range
> actually was masking a portion of the framebuffer.
>
> Since fb->_Xmin, _Xmax, _Ymin and _Ymax take scissors into
> account, we can use these to test for a noop scissor.
>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

Cc: mesa-stable at lists.freedesktop.org


More information about the mesa-dev mailing list