diff options
author | Chris Forbes <[email protected]> | 2014-04-16 14:15:27 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-04-17 18:11:24 +1200 |
commit | d1b6f6711095cd94e80372e7488aa0189e328d88 (patch) | |
tree | d46e23a77a25e371138b14a62a292a8898ce09f4 /src/mesa/main/state.c | |
parent | 9927180714662456ff7b895221f67112f2567a53 (diff) |
meta: Clip src/dest rects in BlitFramebuffer, using the scissor
Fixes piglit's fbo-blit-stretch test on drivers which use the meta path.
(i965: should fix Broadwell, but also fixes Sandybridge/Ivybridge/Haswell
since this test falls off the blorp path now due to format conversion)
V2: Use scissor instead of just mangling the rects, to avoid texcoord
rounding problems. (Thanks Marek)
V3: Rebase on Eric's CTSI meta changes; re-add _mesa_update_state in the
CTSI path so that _mesa_clip_blit sees the correct bounds.
Signed-off-by: Chris Forbes <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77414
Reviewed-by: Anuj Phogat <[email protected]>
Tested-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
0 files changed, 0 insertions, 0 deletions