summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-12-07 08:01:29 -0500
committerRob Clark <[email protected]>2013-12-07 08:45:27 -0500
commitd36ae204d5080a8dd83acf63575660d365d51dad (patch)
tree7d6a09676a3c69f34f4548e28ce75abf45abda9c /src/gallium/drivers/freedreno
parent88dc24663079d3b7ae62a953a770887dc0b709da (diff)
freedreno/a3xx/compiler: add ROUND
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_compiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c b/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
index 7f53a2c6ea9..770f50ea408 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
@@ -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),