Skip to content

nir: Lower all bit sizes of usub_borrow

It's not clear why this is restricted to 32-bit besides that being the only bit size where GLSL has an intrinsic for this. All drivers that set this probably want it lowered for all bit sizes as far as I can tell.

Closes: #6353 (closed) Fixes: 8a3e3441 ("nir/opt_algebraic: Fix some expressions with ambiguous bit sizes")

Merge request reports