diff options
author | Anuj Phogat <[email protected]> | 2015-11-03 10:31:45 -0800 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2016-01-05 13:43:32 -0800 |
commit | 5cbe01c83fb78009371535e558eb21e213312416 (patch) | |
tree | d3df2623a08c251ca2d7473c9175c4846740a0f9 /src/mesa/drivers | |
parent | 3c8b97a45b824712452b1425ed5cac3b97286439 (diff) |
i965/gen9: Remove regions overlap check in fast copy blit
Overlapping blits are anyway undefined in OpenGL. So no need
of overlap check here.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_blit.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c b/src/mesa/drivers/dri/i965/intel_blit.c index 474a476c541..d4e25d89a55 100644 --- a/src/mesa/drivers/dri/i965/intel_blit.c +++ b/src/mesa/drivers/dri/i965/intel_blit.c @@ -406,11 +406,6 @@ can_fast_copy_blit(struct brw_context *brw, if (brw->gen < 9) return false; - if (src_buffer->handle == dst_buffer->handle && - _mesa_regions_overlap(src_x, src_y, src_x + w, src_y + h, - dst_x, dst_y, dst_x + w, dst_y + h)) - return false; - /* Enable fast copy blit only if the surfaces are Yf/Ys tiled. * FIXME: Based on performance data, remove this condition later to * enable for all types of surfaces. |