diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c index bc7f05b3e86..a849664134f 100644 --- a/src/compiler/nir/nir.c +++ b/src/compiler/nir/nir.c @@ -1446,6 +1446,9 @@ nir_ssa_def_components_read(const nir_ssa_def *def) } } + if (!list_empty(&def->if_uses)) + read_mask |= 1; + return read_mask; } |