meta: Add support for doing multisample resolves.
authorEric Anholt <eric@anholt.net>
Fri, 7 Feb 2014 22:00:31 +0000 (14:00 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 21 Feb 2014 18:43:38 +0000 (10:43 -0800)
commit7d2f73e73759d6508833d76181295cdd3e0588fe
tree903dd9fcdd18c94165369fce130120bee04e5d4f
parentaba85d960edf1f2c10e0dae54297565c56b664b8
meta: Add support for doing multisample resolves.

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.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_blit.c