diff options
author | Dave Airlie <[email protected]> | 2012-08-04 13:39:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-08-04 13:45:27 +0200 |
commit | cd97a5f660399212a23b6dcd02906231f2dc5525 (patch) | |
tree | 5bc90ae0a4c3e6e1a547b3d9ab383ff85f36b863 /src | |
parent | 5bce0b51755e465d6aa9077df2167018d2e5150c (diff) |
r600g: fix F2U opcode translation
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 1fa519db54f..2422d0062f3 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -3424,7 +3424,7 @@ static int tgsi_f2i(struct r600_shader_ctx *ctx) alu.src[0].sel = ctx->temp_reg; alu.src[0].chan = i; - if (i == last_inst) + if (i == last_inst || alu.inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_UINT) alu.last = 1; r = r600_bytecode_add_alu(ctx->bc, &alu); if (r) |