From: Rob Clark Date: Wed, 26 Feb 2014 19:34:05 +0000 (-0500) Subject: freedreno/a3xx/compiler: add SSG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dd70125fc5ea45b206df50bac00f15d6e5da38c;p=mesa.git freedreno/a3xx/compiler: add SSG Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c b/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c index 14d95baa1fe..ae88d6ef54d 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_compiler.c @@ -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), diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_compiler_old.c b/src/gallium/drivers/freedreno/a3xx/fd3_compiler_old.c index d40ee5c5310..9a0bbb5edff 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_compiler_old.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_compiler_old.c @@ -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),