agx: Lower packs/unpacks and bitfields
Needed for GLES3. These could be optimized. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19811>
This commit is contained in:
committed by
Marge Bot
parent
94886a2975
commit
3789dba5f6
@@ -292,6 +292,8 @@ static const nir_shader_compiler_options agx_nir_options = {
|
||||
.lower_flrp32 = true,
|
||||
.lower_fpow = true,
|
||||
.lower_fmod = true,
|
||||
.lower_bitfield_extract_to_shifts = true,
|
||||
.lower_bitfield_insert_to_shifts = true,
|
||||
.lower_ifind_msb = true,
|
||||
.lower_find_lsb = true,
|
||||
.lower_uadd_carry = true,
|
||||
@@ -302,6 +304,8 @@ static const nir_shader_compiler_options agx_nir_options = {
|
||||
.lower_iabs = true,
|
||||
.lower_fdph = true,
|
||||
.lower_ffract = true,
|
||||
.lower_pack_half_2x16 = true,
|
||||
.lower_unpack_half_2x16 = true,
|
||||
.lower_pack_split = true,
|
||||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
|
||||
Reference in New Issue
Block a user