diff options
author | Jonathan Marek <[email protected]> | 2019-06-20 23:22:02 -0400 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-06-26 15:26:10 -0400 |
commit | a70ff70158a22003948f449343a55ad47ce73996 (patch) | |
tree | 8c63961a7b3efc65e8cc4203d9a42d83e306c2c3 /src/gallium/drivers/lima/ir/gp | |
parent | 0b5a483baaefa9a7e39c76607d8f0f435aa46315 (diff) |
nir: remove fnot/fxor/fand/for opcodes
There doesn't seem to be any reason to keep these opcodes around:
* fnot/fxor are not used at all.
* fand/for are only used in lower_alu_to_scalar, but easily replaced
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/ir/gp')
-rw-r--r-- | src/gallium/drivers/lima/ir/gp/nir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/lima/ir/gp/nir.c b/src/gallium/drivers/lima/ir/gp/nir.c index 49010d3c255..902d27a3149 100644 --- a/src/gallium/drivers/lima/ir/gp/nir.c +++ b/src/gallium/drivers/lima/ir/gp/nir.c @@ -114,7 +114,6 @@ static int nir_to_gpir_opcodes[nir_num_opcodes] = { [nir_op_fmul] = gpir_op_mul, [nir_op_fadd] = gpir_op_add, [nir_op_fneg] = gpir_op_neg, - [nir_op_fnot] = gpir_op_not, [nir_op_fmin] = gpir_op_min, [nir_op_fmax] = gpir_op_max, [nir_op_frcp] = gpir_op_rcp, @@ -126,8 +125,6 @@ static int nir_to_gpir_opcodes[nir_num_opcodes] = { [nir_op_fsign] = gpir_op_sign, [nir_op_seq] = gpir_op_eq, [nir_op_sne] = gpir_op_ne, - [nir_op_fand] = gpir_op_min, - [nir_op_for] = gpir_op_max, [nir_op_fabs] = gpir_op_abs, [nir_op_mov] = gpir_op_mov, }; |