mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
etnaviv: nir: lower extract byte/word
Fixes e.g. 'Unhandled ALU op: extract_u16' seen with deqp on gc7000.
Cc: 22.3 mesa-stable
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19776>
(cherry picked from commit e244b0f8b2)
This commit is contained in:
parent
8090e45618
commit
1e46b971c9
2 changed files with 3 additions and 1 deletions
|
|
@ -418,7 +418,7 @@
|
|||
"description": "etnaviv: nir: lower extract byte/word",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -53,6 +53,8 @@ etna_compiler_create(const char *renderer, const struct etna_specs *specs)
|
|||
.lower_insert_byte = true,
|
||||
.lower_insert_word = true,
|
||||
.lower_fdiv = true, /* !specs->has_new_transcendentals */
|
||||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
.lower_fsign = !specs->has_sign_floor_ceil,
|
||||
.lower_ffloor = !specs->has_sign_floor_ceil,
|
||||
.lower_fceil = !specs->has_sign_floor_ceil,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue