summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_fog.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-12-11 20:17:47 -0800
committerIan Romanick <[email protected]>2013-01-15 15:09:23 -0800
commitbed997dabaada5e7c8081db08f93a6f1b5932e8b (patch)
tree6ff921ae659cc1487ca4ce0904a9d5d4c7146788 /src/mesa/swrast/s_fog.c
parentab36ca061412c49143a5f2af53bee862fbd40351 (diff)
mesa: Add support to allow blitting to multiple color draw buffers
This patch fixes a blitting case when drawAttachment->Texture == readAttachment->Texture. It was causing an assertion failure in intel_miptree_attach_map() with gles3 conformance test case: framebuffer_blit_functionality_minifying_blit Number of changes in this file look scary. But most of them are caused by introducing a big for loop to support rendering to multiple color draw buffers. V2: Fixed a case when number of draw buffer attachments are zero. V3: Put a for loop in blit_nearest() and blit_linear() functions in to support blitting to multiple color draw buffers. V4: Remove variable declaration in for loop to avoid MSVC compilation issues. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_fog.c')
0 files changed, 0 insertions, 0 deletions