i965: Make the cube mapping RCP use a writemask.

Fixes cube mapping since the scalar changes.
This commit is contained in:
Eric Anholt 2009-08-12 13:49:06 -07:00
parent 5faa0dc591
commit d64649a316
1 changed files with 2 additions and 2 deletions

View File

@ -716,7 +716,7 @@ static void precalc_tex( struct brw_wm_compile *c,
/* tmp0 = 1 / tmp1 */
emit_op(c, OPCODE_RCP,
tmp0,
dst_mask(tmp0, WRITEMASK_X),
0,
tmp1src,
src_undef(),
@ -727,7 +727,7 @@ static void precalc_tex( struct brw_wm_compile *c,
tmpcoord,
0,
src0,
tmp0src,
src_swizzle1(tmp0src, SWIZZLE_X),
src_undef());
release_temp(c, tmp0);