amd/common: lower bitfield_insert to bfm & bitfield_select

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
Daniel Schürmann
2019-01-25 16:08:38 +01:00
committed by Daniel Schürmann
parent a8b0b6e52b
commit 48a75e7af0
3 changed files with 27 additions and 26 deletions

View File

@@ -58,6 +58,7 @@ static const struct nir_shader_compiler_options nir_options = {
.lower_device_index_to_zero = true,
.lower_fsat = true,
.lower_fdiv = true,
.lower_bitfield_insert_to_bitfield_select = true,
.lower_sub = true,
.lower_pack_snorm_2x16 = true,
.lower_pack_snorm_4x8 = true,