diff options
author | Anuj Phogat <[email protected]> | 2012-12-11 20:17:47 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-01-15 15:09:12 -0800 |
commit | ab36ca061412c49143a5f2af53bee862fbd40351 (patch) | |
tree | f152c20bbb8b3efacea96be4293273ef3346148e /autogen.sh | |
parent | 2f2801f876a4c637273bd3ddefb8a5b7a840e604 (diff) |
mesa: Add error checking in _mesa_BlitFramebuffer() for MRTs
This patch adds required error checking in _mesa_BlitFramebuffer() when
blitting to multiple color render targets. It also fixes a case when
blitting to a framebuffer with renderbuffer/texture attached to
GL_COLOR_ATTACHMENT{i} (where i!=0). Earlier it skips color blitting if
nothing is found attached to GL_COLOR_ATTACHMENT0.
V2: Fixed a case when number of draw buffer attachments are zero.
V3: Do compatible_color_datatypes() and compatible_resolve_formats()
check for all the draw renderbuffers in fbobject.c. Fix debug code
at bottom of _mesa_BlitFramebuffer() to handle MRTs. Combine error
checking code for linear blits with other color blit error checking.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions