[Mesa-stable] [Mesa-dev] [PATCH] swrast: Fix the coordinates passed to _mesa_regions_overlap()

Matt Turner mattst88 at gmail.com
Wed Nov 25 10:44:45 PST 2015


On Wed, Nov 25, 2015 at 10:22 AM, Ian Romanick <idr at freedesktop.org> wrote:
> Is this related to a bugzilla or a failing test case?  If not, could we
> get it piglit for it?
>
> Either way, looking at _mesa_regions_overlap (which could use a comment
> saying that the rectangles are inclusive), I believe this is correct.

Read the rest of the thread -- it didn't look like a bug to me.

I'm confused. I said it didn't look like a bug because the rectangles
are inclusive. You said (I think) it does look like a bug because the
rectangles are inclusive. Anuj's last reply says
_mesa_regions_overlap() is wrong for rectangles that share an edge...

But if the bounds are inclusive, and rectangles share an edge...
doesn't that mean the regions overlap?


More information about the mesa-stable mailing list