diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2022-11-02 16:45:27 +0000 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2022-11-23 19:11:58 +0000 |
commit | 8718187b2230b40d83824cde47d50ae33bd0cb65 (patch) | |
tree | eeeb273de0b90620f45c940da25cd92a2154f262 | |
parent | df7dc583e726886b28c44914b91547f46522d9ab (diff) | |
download | mesa-8718187b2230b40d83824cde47d50ae33bd0cb65.tar.gz |
radv: lower 8/16-bit uadd_carry/usub_borrow
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7615
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19473>
(cherry picked from commit 6fc4a760571443fae71a45076255090518daa900)
-rw-r--r-- | .pick_status.json | 2 | ||||
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json index 772ef6a0f40..e3577ece548 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2101,7 +2101,7 @@ "description": "radv: lower 8/16-bit uadd_carry/usub_borrow", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index fe132c10fb3..8bb663161ca 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -3106,6 +3106,8 @@ lower_bit_size_callback(const nir_instr *instr, void *_) case nir_op_bitfield_select: case nir_op_imul_high: case nir_op_umul_high: + case nir_op_uadd_carry: + case nir_op_usub_borrow: return 32; case nir_op_iabs: case nir_op_imax: |