mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
etnaviv: Call lower_bool_to_int32 not to_bitsize
It calls both for some reason but never handles any other booleans than 32-bit. This was probably a mistake. Fixes:e63a7882a0("etnaviv: call nir_lower_bool_to_bitsize") Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> (cherry picked from commit6fb3995659) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40359>
This commit is contained in:
parent
f550eb1903
commit
740734ac72
2 changed files with 2 additions and 2 deletions
|
|
@ -504,7 +504,7 @@
|
|||
"description": "etnaviv: Call lower_bool_to_int32 not to_bitsize",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "e63a7882a0ae2461cc2b84de96549c2df9d25985",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1327,7 +1327,7 @@ etna_compile_shader(struct etna_shader_variant *v)
|
|||
NIR_PASS(_, s, nir_opt_dce);
|
||||
NIR_PASS(_, s, nir_opt_cse);
|
||||
|
||||
NIR_PASS(_, s, nir_lower_bool_to_bitsize);
|
||||
NIR_PASS(_, s, nir_lower_bool_to_int32);
|
||||
NIR_PASS(_, s, etna_lower_alu, c->specs->has_new_transcendentals);
|
||||
|
||||
/* needs to be the last pass that touches pass_flags! */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue