diff options
author | Zou Nan hai <[email protected]> | 2007-10-09 14:35:28 +0800 |
---|---|---|
committer | Zou Nan hai <[email protected]> | 2007-10-09 14:35:28 +0800 |
commit | ae5aa1f90651a2a6168f687c95a069e78a0231bb (patch) | |
tree | 134e5ce0adefbcd361798d83e4214e9c34d79aee /src | |
parent | e2dff35f9589dd5616933654a2136584cb30ed18 (diff) |
fix for prev commit
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_glsl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_glsl.c b/src/mesa/drivers/dri/i965/brw_wm_glsl.c index 8ed92840967..4b273fefe92 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_glsl.c +++ b/src/mesa/drivers/dri/i965/brw_wm_glsl.c @@ -182,8 +182,8 @@ static void emit_int( struct brw_wm_compile *c, for (i = 0; i < 4; i++) { if (mask & (1<<i)) { struct brw_reg src, dst; - dst = retype(get_dst_reg(c, inst, i, 1), BRW_REGISTER_TYPE_D); - src = retype(get_src_reg(c, &inst->SrcReg[0], i, 1), BRW_REGISTER_TYPE_D); + dst = get_dst_reg(c, inst, i, 1) ; + src = get_src_reg(c, &inst->SrcReg[0], i, 1); brw_RNDD(p, dst, src); } } |