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>
Wed, 10 Mar 2010 19:18:21 +0000 (11:18 -0800)
commit48dca99feb394febc3af44e14f23fb12a9cc9204
tree22eadf673140377856b2f48ed01d3e44ecdf928c
parentf77c1cd7df805f097958a5b83d235f8a8ad693b1
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!.
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