freedreno/a3xx/compiler: add CEIL
authorRob Clark <robclark@freedesktop.org>
Wed, 9 Apr 2014 13:54:20 +0000 (09:54 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 9 Apr 2014 14:59:18 +0000 (10:59 -0400)
fixes piglit glsl-fs-ceil

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_compiler.c

index ad518b0b5e92b3b6cf0a1dc94be1cff8e5b6b1da..fd385d77024e5372d2f947fb5f9d2655a911af91 100644 (file)
@@ -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),