ac/nir: don't put lod into args if it's zero.
If it's zero but put it in args we still end up consuming a register for it. This fixes some spilling in the NIR paths in Dirt Rally that isn't seen with TGSI. Reviewed-by: Timothy Arceri <email@example.com> Signed-off-by: Dave Airlie <firstname.lastname@example.org>
Showing with 1 addition and 2 deletions