i965: refactor sample mask calculation
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 30 Nov 2013 22:03:41 +0000 (11:03 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 7 Dec 2013 03:07:53 +0000 (16:07 +1300)
commit8064b0f2c488f5c74a8910c2a5675672e8b1e066
tree5fa20ec89852f7ef53a255ea65c29322f05bfe0f
parent758658850bd5ba64bf2e8c04516ea1292aedcfc3
i965: refactor sample mask calculation

Haswell needs a copy of the sample mask in 3DSTATE_PS; this makes that
convenient.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen6_multisample_state.c
src/mesa/drivers/dri/i965/gen7_blorp.cpp