i965/fs: Fix the gen6-specific if handling for 80ecb8f15b9ad7d6edc
authorEric Anholt <eric@anholt.net>
Mon, 12 Nov 2012 21:13:55 +0000 (13:13 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Jan 2013 20:14:31 +0000 (12:14 -0800)
commit457eab5a9bf563b54d46fa57cba513837224b120
tree7b3570c57faba0e558fb9cbee92351acd6769193
parent871da78263673cf123e28b3c0aa88b48745ac93d
i965/fs: Fix the gen6-specific if handling for 80ecb8f15b9ad7d6edc

Fixes oglconform shad-compiler advanced.TestLessThani.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48629
NOTE: This is a candidate for the 9.0 branch.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 0482998ccc205a9d29953c7a8b33f41ae3584935)

Conflicts: fs_inst doesn't have a "predicate" field on the 9.0 branch,
so convert it to "predicated = true".  See 54679fcbcae7a2d41cb43.
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp