mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
nir/dead_cf: Add missing load_ssbo_ir3 handling
Signed-off-by: Mary Guillemard <mary@mary.zone> Fixes:0092edfec0("nir/dead_cf: Do not remove loops with loads that can't be reordered") Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Mel Henning <mhenning@darkrefraction.com> (cherry picked from commit6013667d61) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
parent
d769e67c52
commit
7908d4e89f
2 changed files with 2 additions and 1 deletions
|
|
@ -4874,7 +4874,7 @@
|
|||
"description": "nir/dead_cf: Add missing load_ssbo_ir3 handling",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "0092edfec0895533260a52c84cb4ce098f6b6bea",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -218,6 +218,7 @@ node_is_dead(nir_cf_node *node)
|
|||
case nir_intrinsic_load_ssbo:
|
||||
case nir_intrinsic_load_global:
|
||||
case nir_intrinsic_load_ssbo_intel:
|
||||
case nir_intrinsic_load_ssbo_ir3:
|
||||
/* If there's a memory barrier after the loop, a load might be
|
||||
* required to happen before some other instruction after the
|
||||
* barrier, so it is not valid to eliminate it -- unless we
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue