aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Schürmann <[email protected]>2020-02-06 17:35:25 +0100
committerMarge Bot <[email protected]>2020-05-13 18:49:22 +0000
commitb9ea0ca6ee6c36fe26a559e2a4d2fcda78a0fda3 (patch)
treee481fca08e13cd0db792923666ab90a0bb9a79db /src
parentca2d53f451e527b7227f073aeeaeece00d3787c8 (diff)
nir: add nir_intrinsic_elect to divergence analysis
Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4062>
Diffstat (limited to 'src')
-rw-r--r--src/compiler/nir/nir_divergence_analysis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_divergence_analysis.c b/src/compiler/nir/nir_divergence_analysis.c
index 03201e0faf8..b166b31ab88 100644
--- a/src/compiler/nir/nir_divergence_analysis.c
+++ b/src/compiler/nir/nir_divergence_analysis.c
@@ -410,6 +410,7 @@ visit_intrinsic(nir_intrinsic_instr *instr,
case nir_intrinsic_ballot_bit_count_inclusive:
case nir_intrinsic_write_invocation_amd:
case nir_intrinsic_mbcnt_amd:
+ case nir_intrinsic_elect:
is_divergent = true;
break;