nir/lower_blend: Fix nir_blend_logicop() for 8/16-bit integer formats
src and dst can be integer types, and doing an f2f on such types messes up with the original value. Make sure we keep the original type when {up,down}sizing the src, dst and out values. Fixes: f3de2bd6 ("nir: Add blend lowering pass") Signed-off-by:Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <mesa/mesa!28839>