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

Author: Rob Clark <[email protected]>
Date:   Wed Apr  9 09:54:20 2014 -0400

freedreno/a3xx/compiler: add CEIL

fixes piglit glsl-fs-ceil

Signed-off-by: Rob Clark <[email protected]>

---

 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),

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to