Skip to content
Commit 16d44d1e authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Dylan Baker
Browse files

nir/algebraic: Be more careful converting ushr to extract_u8/16



If it's not the right bit-size, it may not actually be the correct
extraction.  For now, we'll only worry about 32-bit versions.

Fixes: 905ff861 "nir: Recognize open-coded extract_u16"
Fixes: 76289fbf "nir: Recognize open-coded extract_u8"
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 116b47fe)
parent 8c3aee40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment