aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-10-08 10:26:13 -0700
committerKenneth Graunke <[email protected]>2012-11-01 14:29:19 -0700
commitfd8655aa7a78f3ded44e9dee572f17309a44a945 (patch)
tree0c775c486b4c3f5338512f1a4ef8cceba91a3830 /src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
parent6bc021bc78903898f17fcdf328c544e13bb3cace (diff)
i965/vs: Add support for emitting DPH opcodes.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_emit.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_emit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
index ab9bc66c388..fdb42698fdc 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
@@ -938,6 +938,10 @@ vec4_visitor::generate_code()
brw_SEL(p, dst, src[0], src[1]);
break;
+ case BRW_OPCODE_DPH:
+ brw_DPH(p, dst, src[0], src[1]);
+ break;
+
case BRW_OPCODE_DP4:
brw_DP4(p, dst, src[0], src[1]);
break;