freedreno/a3xx/compiler: add SSG
authorRob Clark <robclark@freedesktop.org>
Wed, 26 Feb 2014 19:34:05 +0000 (14:34 -0500)
committerRob Clark <robclark@freedesktop.org>
Sun, 2 Mar 2014 16:26:35 +0000 (11:26 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
src/gallium/drivers/freedreno/a3xx/fd3_compiler_old.c

index 14d95baa1fee2b2059f3fef00485ab684f612cc5..ae88d6ef54d99889a86838b294dfe82e14c02543 100644 (file)
@@ -1738,6 +1738,7 @@ static const struct instr_translater translaters[TGSI_OPCODE_LAST] = {
        INSTR(CLAMP,        trans_clamp),
        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(ARL,          trans_arl),
        INSTR(EX2,          instr_cat4, .opc = OPC_EXP2),
        INSTR(LG2,          instr_cat4, .opc = OPC_LOG2),
index d40ee5c531090cada51d82d80d52f6d512be1d5c..9a0bbb5edff8d8180c7c4edb4d6549d206f83237 100644 (file)
@@ -1266,6 +1266,7 @@ static const struct instr_translater translaters[TGSI_OPCODE_LAST] = {
        INSTR(CLAMP,        trans_clamp),
        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(ARL,          trans_arl),
        INSTR(EX2,          instr_cat4, .opc = OPC_EXP2),
        INSTR(LG2,          instr_cat4, .opc = OPC_LOG2),