freedreno/a3xx/compiler: add ROUND
authorRob Clark <robclark@freedesktop.org>
Sat, 7 Dec 2013 13:01:29 +0000 (08:01 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 7 Dec 2013 13:45:27 +0000 (08:45 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_compiler.c

index 7f53a2c6ea9559f437060835766055b3cc8eb51e..770f50ea4085d4b7956720eba3f3de198ef32c13 100644 (file)
@@ -1573,6 +1573,7 @@ static const struct instr_translater translaters[TGSI_OPCODE_LAST] = {
        INSTR(LRP,          trans_lrp),
        INSTR(FRC,          trans_frac),
        INSTR(FLR,          instr_cat2, .opc = OPC_FLOOR_F),
+       INSTR(ROUND,        instr_cat2, .opc = OPC_RNDNE_F),
        INSTR(ARL,          trans_arl),
        INSTR(EX2,          instr_cat4, .opc = OPC_EXP2),
        INSTR(LG2,          instr_cat4, .opc = OPC_LOG2),