summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-08-11 19:13:52 -0700
committerEric Anholt <eric@anholt.net>2009-11-06 21:08:54 -0800
commitbad5b120be8de37cf8481d865790298fd9651381 (patch)
tree4c9712dbedc4918b07c14dfe0c14d86e69080d4c /src/mesa/drivers/dri/i965/brw_wm.h
parent06c1bc8a2222f00e5a51fa977130a719bdcd8f0b (diff)
i965: Share the DP3, DP4, and DPH between brw_wm_glsl.c and brw_wm_emit.c
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index 66902bab65..18f17f2488 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -330,6 +330,21 @@ void emit_ddxy(struct brw_compile *p,
GLuint mask,
GLboolean is_ddx,
const struct brw_reg *arg0);
+void emit_dp3(struct brw_compile *p,
+ const struct brw_reg *dst,
+ GLuint mask,
+ const struct brw_reg *arg0,
+ const struct brw_reg *arg1);
+void emit_dp4(struct brw_compile *p,
+ const struct brw_reg *dst,
+ GLuint mask,
+ const struct brw_reg *arg0,
+ const struct brw_reg *arg1);
+void emit_dph(struct brw_compile *p,
+ const struct brw_reg *dst,
+ GLuint mask,
+ const struct brw_reg *arg0,
+ const struct brw_reg *arg1);
void emit_lrp(struct brw_compile *p,
const struct brw_reg *dst,
GLuint mask,