OSDN Git Service

i965: Move post-sync non-zero flush for 3DSTATE_MULTISAMPLE.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 24 Oct 2013 07:38:27 +0000 (00:38 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 28 Oct 2013 18:29:32 +0000 (11:29 -0700)
commit65b1f642ac2dff58498622bf6e0b7be8d9d3e20d
treeab578821dfaae8d7d0266cec0b7e8b0dbb033a8a
parent10a918e52c37715744f7980b2bc9da69575514da
i965: Move post-sync non-zero flush for 3DSTATE_MULTISAMPLE.

For some reason, we put the flush in the caller, rather than just before
emitting the packet.  This is more than a cosmetic problem: BLORP calls
gen6_emit_3dstate_multisample() directly, and so it missed the flush.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Xinkai Chen <yeled.nova@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/gen6_multisample_state.c