mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 22:00:25 +01:00
i965: Stop lowering ir_triop_lrp.
Both the vector and scalar backends now support it natively, so there's
no point in lowering it.
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Acked-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 2fdea48e21)
This commit is contained in:
parent
24abd48ac0
commit
9cc1bbcaf4
1 changed files with 0 additions and 2 deletions
|
|
@ -145,7 +145,6 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
|
|||
const int bitfield_insert = brw->gen >= 7
|
||||
? BITFIELD_INSERT_TO_BFM_BFI
|
||||
: 0;
|
||||
const int lrp_to_arith = brw->gen < 6 ? LRP_TO_ARITH : 0;
|
||||
lower_instructions(shader->base.ir,
|
||||
MOD_TO_FRACT |
|
||||
DIV_TO_MUL_RCP |
|
||||
|
|
@ -153,7 +152,6 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
|
|||
EXP_TO_EXP2 |
|
||||
LOG_TO_LOG2 |
|
||||
bitfield_insert |
|
||||
lrp_to_arith |
|
||||
LDEXP_TO_ARITH);
|
||||
|
||||
/* Pre-gen6 HW can only nest if-statements 16 deep. Beyond this,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue