mesa/src
Anuj Phogat 72dbdf6f89 gallium: Fix region overlap conditions for rectangles with a shared edge
>From OpenGL 4.0 spec, section 4.3.2 "Copying Pixels":
"The pixels corresponding to these buffers are copied from the source
rectangle bounded by the locations (srcX0, srcY 0) and (srcX1, srcY 1)
to the destination rectangle bounded by the locations (dstX0, dstY 0)
and (dstX1, dstY 1). The lower bounds of the rectangle are inclusive,
while the upper bounds are exclusive."

So, the rectangles sharing just an edge shouldn't overlap.
 -----------
|           |
 ------- ---
|       |   |
|       |   |
 ------- ---

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit 466b320163)
2016-06-15 09:29:10 +01:00
..
compiler glsl: geom shader max_vertices layout must match. 2016-06-14 15:48:38 +01:00
egl egl: android: don't add the image loader extension for !render_node 2016-06-07 12:35:40 +01:00
gallium gallium: Fix region overlap conditions for rectangles with a shared edge 2016-06-15 09:29:10 +01:00
gbm gbm: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
getopt
glx glx: fix crash with bad fbconfig 2016-06-14 15:48:39 +01:00
gtest
hgl
intel anv/entrypoints: Rework #if guards 2016-06-15 09:29:10 +01:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi mapi: expose new functions in GL ES 3.2 2016-05-26 21:25:53 -04:00
mesa mesa: Fix region overlap conditions for rectangles with a shared edge 2016-06-15 09:29:10 +01:00
util mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Makefile.am mesa: automake: distclean git_sha1.h when building OOT 2016-06-07 12:35:53 +01:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00