diff options
author | Zou Nan hai <[email protected]> | 2007-10-09 14:26:01 +0800 |
---|---|---|
committer | Zou Nan hai <[email protected]> | 2007-10-09 14:26:01 +0800 |
commit | e2dff35f9589dd5616933654a2136584cb30ed18 (patch) | |
tree | 1ba82c27c3b2ad9f5eb1a30d0d114bfdc5cd845e /src/mesa/drivers/dri | |
parent | 82d4aa40551fe86a04346c3eea944f8ce7ae8d28 (diff) |
INT support
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_glsl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_glsl.c b/src/mesa/drivers/dri/i965/brw_wm_glsl.c index 8133c384f38..8ed92840967 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_glsl.c +++ b/src/mesa/drivers/dri/i965/brw_wm_glsl.c @@ -172,7 +172,7 @@ static void emit_abs( struct brw_wm_compile *c, brw_set_saturate(p, 0); } -static void emit_mov_int( struct brw_wm_compile *c, +static void emit_int( struct brw_wm_compile *c, struct prog_instruction *inst) { int i; @@ -184,7 +184,7 @@ static void emit_mov_int( struct brw_wm_compile *c, 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); - brw_MOV(p, dst, src); + brw_RNDD(p, dst, src); } } brw_set_saturate(p, 0); @@ -1181,7 +1181,7 @@ static void brw_wm_emit_glsl(struct brw_wm_compile *c) emit_lrp(c, inst); break; case OPCODE_INT: - emit_mov_int(c, inst); + emit_int(c, inst); break; case OPCODE_MOV: emit_mov(c, inst); |