diff options
author | Brian Paul <[email protected]> | 2009-01-28 14:51:35 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-28 14:51:35 -0700 |
commit | 3dcc48e6882385f58ec9b19a3a7d5307ef9fc976 (patch) | |
tree | fb20ec6f145d1e87f1bff1c64fee3658415ce479 /src | |
parent | c0d3b7679aa90e1a0dca2db152205efaec088b90 (diff) |
i965: minor tweak: replace OPCODE_MOV with OPCODE_SWZ
Just to reinforce the understanding that an extended swizzle with 0 and 1
terms is possible there.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c index 6b3f51dadc0..ea3f3fc678f 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_fp.c +++ b/src/mesa/drivers/dri/i965/brw_wm_fp.c @@ -761,7 +761,7 @@ static void precalc_tex( struct brw_wm_compile *c, if (c->key.tex_swizzles[unit] != SWIZZLE_NOOP) { /* swizzle the result of the TEX instruction */ struct prog_src_register tmpsrc = src_reg_from_dst(inst->DstReg); - emit_op(c, OPCODE_MOV, + emit_op(c, OPCODE_SWZ, inst->DstReg, SATURATE_OFF, /* saturate already done above */ 0, 0, /* tex unit, target N/A */ |