diff options
author | Kenneth Graunke <[email protected]> | 2016-01-07 15:54:16 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-01-13 10:35:12 -0800 |
commit | b85a229e1f542426b1c8000569d89cd4768b9339 (patch) | |
tree | a770a5444309a93cc7e574f95935e7a5a62016c9 /src/glsl/ir_optimization.h | |
parent | 92f177386954caced2e7ddca156917cf166f9c23 (diff) |
glsl: Delete the ir_binop_bfm and ir_triop_bfi opcodes.
TGSI doesn't use these - it just translates ir_quadop_bitfield_insert
directly. NIR can handle ir_quadop_bitfield_insert as well.
These opcodes were only used for i965, and with Jason's recent patches,
we can do this lowering in NIR (which also gains us SPIR-V handling).
So there's not much point to retaining this GLSL IR lowering code.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/glsl/ir_optimization.h')
-rw-r--r-- | src/glsl/ir_optimization.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h index dabd80a8d0d..be86f547f77 100644 --- a/src/glsl/ir_optimization.h +++ b/src/glsl/ir_optimization.h @@ -36,13 +36,12 @@ #define LOG_TO_LOG2 0x10 #define MOD_TO_FLOOR 0x20 #define INT_DIV_TO_MUL_RCP 0x40 -#define BITFIELD_INSERT_TO_BFM_BFI 0x80 -#define LDEXP_TO_ARITH 0x100 -#define CARRY_TO_ARITH 0x200 -#define BORROW_TO_ARITH 0x400 -#define SAT_TO_CLAMP 0x800 -#define DOPS_TO_DFRAC 0x1000 -#define DFREXP_DLDEXP_TO_ARITH 0x2000 +#define LDEXP_TO_ARITH 0x80 +#define CARRY_TO_ARITH 0x100 +#define BORROW_TO_ARITH 0x200 +#define SAT_TO_CLAMP 0x400 +#define DOPS_TO_DFRAC 0x800 +#define DFREXP_DLDEXP_TO_ARITH 0x1000 /** * \see class lower_packing_builtins_visitor |