diff options
author | Eric Anholt <[email protected]> | 2010-06-30 17:05:11 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-06-30 17:29:09 -0700 |
commit | e558786a3ed52222c07f916e213b63dcba1890a2 (patch) | |
tree | ffc2aa617596e9f63da7d403400b7f59560a6ed7 /src/mesa/drivers/dri/i965/brw_wm.h | |
parent | d6ebe9b16b25f25ba763baf3738addc50676d5d0 (diff) |
i965: Add support for OPCODE_SSG.
The old compiler didn't use SSG, and instead emitted SGT/SGT/SUB. We
can do a little better for SSG than we do for the SGT series.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h index 277b6de4425..938557ff369 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.h +++ b/src/mesa/drivers/dri/i965/brw_wm.h @@ -425,6 +425,10 @@ void emit_sop(struct brw_compile *p, GLuint cond, const struct brw_reg *arg0, const struct brw_reg *arg1); +void emit_sign(struct brw_compile *p, + const struct brw_reg *dst, + GLuint mask, + const struct brw_reg *arg0); void emit_tex(struct brw_wm_compile *c, struct brw_reg *dst, GLuint dst_flags, |