diff options
author | Marek Olšák <[email protected]> | 2013-05-30 21:34:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-06-13 03:54:13 +0200 |
commit | 79e421260a2caf18cd5f11514b3439d9846c743e (patch) | |
tree | 2e40eaaab3c42d65d3ae48c91135e13d37d54965 /src/glsl | |
parent | 4d59258856a3601fb7fbb4c4d80f64491f0cb5c7 (diff) |
st/mesa: rework blit_copy_pixels to use pipe->blit
There were 2 issues with it:
- resource_copy_region doesn't allow different sample counts of both src
and dst, which can occur if we blit between a window and a FBO, and
the window has an MSAA colorbuffer and the FBO doesn't.
(this was the main motivation for using pipe->blit)
- blitting from or to a non-zero layer/slice/face was broken, because
rtt_face and rtt_slice were ignored.
blit_copy_pixels is now used even if the formats and orientation of
framebuffers don't match.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions