diff --git a/.pick_status.json b/.pick_status.json index 39020ea6294..d046eb75cf9 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -445,7 +445,7 @@ "description": "nir: fix ifind_msb_rev by using appropriate type", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "a5747f8ab357ff00c630b937b221e5fb59d90289" }, diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py index f9330c0af2c..6745c6c9f4e 100644 --- a/src/compiler/nir/nir_opcodes.py +++ b/src/compiler/nir/nir_opcodes.py @@ -487,7 +487,7 @@ for (int bit = 31; bit >= 0; bit--) { } """) -unop_convert("ifind_msb_rev", tint32, tuint, """ +unop_convert("ifind_msb_rev", tint32, tint, """ dst = -1; if (src0 != 0 && src0 != -1) { for (int bit = 0; bit < 31; bit++) {