OSDN Git Service

i965: Do not set bilinear_filter flag in case of multisample blits
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 18 Oct 2013 23:07:42 +0000 (16:07 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 28 Oct 2013 16:33:01 +0000 (09:33 -0700)
commitf278d49c4bcfedbda10cb224cb251e3755e88288
tree37f584a1ac01d71e4b3859e81041b6f83f19693f
parent14f02cdee89e46cd678e45ef174f58ecfb252495
i965: Do not set bilinear_filter flag in case of multisample blits

Setting bilinear_filter flag in case of multisample blits with
GL_LINEAR filter causes incorrect behavior in translate_dst_to_src()
function. This broke Modern Warfare (1, 2 and 3) on SNB, IVB and HSW.

Tested on SNB and IVB, no Piglit regressions. Trace file of the game
(taken with apitrace) works fine with this patch.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69078
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reported-by: Armin K <krejzi@email.com>
Tested-by: Armin K <krejzi@email.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp