Module: Mesa
Branch: staging/23.3
Commit: b6b70fee7177d92d06584c990b66be3fc4dd127f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6b70fee7177d92d06584c990b66be3fc4dd127f

Author: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Date:   Thu Nov 30 19:13:07 2023 +0200

nir/divergence: handle printf intrinsic

Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Cc: mesa-stable
Reviewed-by: Karol Herbst <kher...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26505>
(cherry picked from commit 4e4a3820abc9f4de717393ecc51700c7b798fd79)

---

 .pick_status.json                          | 2 +-
 src/compiler/nir/nir_divergence_analysis.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.pick_status.json b/.pick_status.json
index 5e9ca44e286..1224dd1ab36 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -1024,7 +1024,7 @@
         "description": "nir/divergence: handle printf intrinsic",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null,
         "notes": null
diff --git a/src/compiler/nir/nir_divergence_analysis.c 
b/src/compiler/nir/nir_divergence_analysis.c
index a37d0b866e8..47ad7a022fb 100644
--- a/src/compiler/nir/nir_divergence_analysis.c
+++ b/src/compiler/nir/nir_divergence_analysis.c
@@ -616,6 +616,7 @@ visit_intrinsic(nir_shader *shader, nir_intrinsic_instr 
*instr)
    case nir_intrinsic_isberd_nv:
    case nir_intrinsic_al2p_nv:
    case nir_intrinsic_ald_nv:
+   case nir_intrinsic_printf:
       is_divergent = true;
       break;
 

Reply via email to