i965: Program 2x MSAA sample positions.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Feb 2014 00:41:30 +0000 (16:41 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Feb 2014 16:18:29 +0000 (08:18 -0800)
commita21552a96b8cfafa933cab2fd49a389317a1b44e
tree5b78773684bfb99a71fd9f79b33da1a5a24588d2
parentf4bc0ac83eee968b7a0f18fa8e1ecdc1ba2ddf9e
i965: Program 2x MSAA sample positions.

There are only two sensible placements for 2x MSAA samples - and one is
the mirror image of the other.  I chose (0.25, 0.25) and (0.75, 0.75).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_multisample_state.h
src/mesa/drivers/dri/i965/gen6_multisample_state.c
src/mesa/drivers/dri/i965/gen8_multisample_state.c