r600/sfn: lower bitfield_extract and bitfield_insert in NIR

v2: lower bitfield insert to bitfield_select (Rhys Perry

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9584>
This commit is contained in:
Gert Wollny
2021-03-06 16:21:09 +01:00
committed by Marge Bot
parent 585eebdd0f
commit 7f020afcd6
3 changed files with 5 additions and 51 deletions

View File

@@ -1327,6 +1327,8 @@ bool r600_common_screen_init(struct r600_common_screen *rscreen,
.has_fsub = true,
.has_isub = true,
.lower_iabs = true,
.lower_bitfield_extract = true,
.lower_bitfield_insert_to_bitfield_select = true,
};
rscreen->nir_options = nir_options;