Mesa (master): freedreno/a3xx/compiler: add CEIL

Rob Clark robclark at kemper.freedesktop.org
Wed Apr 9 15:00:15 UTC 2014


Module: Mesa
Branch: master
Commit: 4a92c122324e0e1a08204f625620ab7635c22f99
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a92c122324e0e1a08204f625620ab7635c22f99

Author: Rob Clark <robclark at freedesktop.org>
Date:   Wed Apr  9 09:54:20 2014 -0400

freedreno/a3xx/compiler: add CEIL

fixes piglit glsl-fs-ceil

Signed-off-by: Rob Clark <robclark at freedesktop.org>

---

 src/gallium/drivers/freedreno/a3xx/fd3_compiler.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c b/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
index ad518b0..fd385d7 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
@@ -1730,6 +1730,7 @@ static const struct instr_translater translaters[TGSI_OPCODE_LAST] = {
 	INSTR(FLR,          instr_cat2, .opc = OPC_FLOOR_F),
 	INSTR(ROUND,        instr_cat2, .opc = OPC_RNDNE_F),
 	INSTR(SSG,          instr_cat2, .opc = OPC_SIGN_F),
+	INSTR(CEIL,         instr_cat2, .opc = OPC_CEIL_F),
 	INSTR(ARL,          trans_arl),
 	INSTR(EX2,          instr_cat4, .opc = OPC_EXP2),
 	INSTR(LG2,          instr_cat4, .opc = OPC_LOG2),




More information about the mesa-commit mailing list