Note that this doesn't handle GL_EXT_multisample_scaled_blit yet. The i965 code for that extension bakes in knowledge of the sample positions (well, knowledge of the sample positions aligned to a lower-resolution grid), which we would have to do at runtime somehow for meta.
7d2f73e meta: Add support for doing multisample resolves.
src/mesa/drivers/common/meta.h | 7 ++
src/mesa/drivers/common/meta_blit.c | 202 ++++++++++++++++++++++++++++++++---
2 files changed, 197 insertions(+), 12 deletions(-)