summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-11-12 13:27:49 -0800
committerEric Anholt <[email protected]>2014-11-24 14:56:22 -0800
commitde2f8d75db3dad3089c96b65223e47ad3986a25c (patch)
tree00e4a438e8d2aa957f2ade7baa4200597eb5714f /src/gallium/auxiliary/tgsi/tgsi_exec.c
parentd4864cdf15ccd30f0e82d07fd0e9db8a0c115cda (diff)
gallium: Drop the unused RCC opcode.
Nothing in the tree generated it. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index b9a4c7bf88c..b3ea82f6b76 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -911,22 +911,6 @@ micro_div(
}
static void
-micro_rcc(union tgsi_exec_channel *dst,
- const union tgsi_exec_channel *src)
-{
- uint i;
-
- for (i = 0; i < 4; i++) {
- float recip = 1.0f / src->f[i];
-
- if (recip > 0.0f)
- dst->f[i] = CLAMP(recip, 5.42101e-020f, 1.84467e+019f);
- else
- dst->f[i] = CLAMP(recip, -1.84467e+019f, -5.42101e-020f);
- }
-}
-
-static void
micro_lt(
union tgsi_exec_channel *dst,
const union tgsi_exec_channel *src0,
@@ -3799,10 +3783,6 @@ exec_instruction(
exec_vector_unary(mach, inst, micro_abs, TGSI_EXEC_DATA_FLOAT, TGSI_EXEC_DATA_FLOAT);
break;
- case TGSI_OPCODE_RCC:
- exec_scalar_unary(mach, inst, micro_rcc, TGSI_EXEC_DATA_FLOAT, TGSI_EXEC_DATA_FLOAT);
- break;
-
case TGSI_OPCODE_DPH:
exec_dph(mach, inst);
break;