summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-09-25 12:06:42 -0700
committerJason Ekstrand <[email protected]>2014-09-30 10:29:14 -0700
commit5390ca8ce93028d2d6016d4817e92427d09e4a21 (patch)
treea58a486a29c1191135401295a430f019ebf9db60 /src
parent004fbd53759a8993198883a32d93c9e3f6a65bbd (diff)
i965: Explicitly set widths on gen5 math instruction destinations.
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index c710ad63a7a..cd90989c8dd 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1523,7 +1523,7 @@ fs_visitor::emit_math(enum opcode opcode, fs_reg dst, fs_reg src0, fs_reg src1)
fs_reg &op0 = is_int_div ? src1 : src0;
fs_reg &op1 = is_int_div ? src0 : src1;
- emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + 1, op1.type), op1);
+ emit(MOV(fs_reg(MRF, base_mrf + 1, op1.type, dispatch_width), op1));
inst = emit(opcode, dst, op0, reg_null_f);
inst->base_mrf = base_mrf;