mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
intel/compiler: Request bitfield_reverse lowering on pre-Gen7 hardware
See the previous commit for the explanation of the Fixes tag. Hurts 21 shaders in shader-db. All of the hurt shaders are in Unreal Engine 4 tech demos. Reviewed-by: Matt Turner <mattst88@gmail.com> Fixes:7afa26d4e3("nir: Add lowering for nir_op_bitfield_reverse.") (cherry picked from commitb418269d7d)
This commit is contained in:
parent
91fa24a686
commit
753ea83477
1 changed files with 1 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ brw_compiler_create(void *mem_ctx, const struct gen_device_info *devinfo)
|
|||
nir_options->lower_flrp32 = devinfo->gen < 6 || devinfo->gen >= 11;
|
||||
|
||||
nir_options->lower_rotate = devinfo->gen < 11;
|
||||
nir_options->lower_bitfield_reverse = devinfo->gen < 7;
|
||||
|
||||
nir_options->lower_int64_options = int64_options;
|
||||
nir_options->lower_doubles_options = fp64_options;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue