i965: Add support for the CMP opcode in the GLSL path.
authorEric Anholt <eric@anholt.net>
Wed, 10 Mar 2010 19:00:40 +0000 (11:00 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Mar 2010 19:14:18 +0000 (12:14 -0700)
commit837f003eeb1ce56c2d8285e82ee86b5ffbb19442
tree747d84c0fb08244896d8d7f0e21b80bb0d398ff6
parent7ee4db50b10ab2d8fdfc4781f26b84041cf568d7
i965: Add support for the CMP opcode in the GLSL path.

This would be triggered by use of sqrt() along with control flow.
Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!.
(cherry picked from commit 48dca99feb394febc3af44e14f23fb12a9cc9204)
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_emit.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c