diff options
author | Eric Anholt <[email protected]> | 2010-03-10 11:00:40 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-03-10 11:18:21 -0800 |
commit | 48dca99feb394febc3af44e14f23fb12a9cc9204 (patch) | |
tree | 22eadf673140377856b2f48ed01d3e44ecdf928c /src/mesa/drivers/dri/i965/brw_wm.h | |
parent | f77c1cd7df805f097958a5b83d235f8a8ad693b1 (diff) |
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!.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h index 88d84ee82fe..47b764d24d1 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.h +++ b/src/mesa/drivers/dri/i965/brw_wm.h @@ -328,6 +328,12 @@ void emit_cinterp(struct brw_compile *p, const struct brw_reg *dst, GLuint mask, const struct brw_reg *arg0); +void emit_cmp(struct brw_compile *p, + const struct brw_reg *dst, + GLuint mask, + const struct brw_reg *arg0, + const struct brw_reg *arg1, + const struct brw_reg *arg2); void emit_ddxy(struct brw_compile *p, const struct brw_reg *dst, GLuint mask, |