nir: update uses_demote flag in discard_to_demote pass
Otherwise the ctx.ac.postponed_kill will not be allocated.
Fixes: ce87da71 ("nir: add pass to lower discard() to demote()") Closes: #2662 (closed)
Otherwise the ctx.ac.postponed_kill will not be allocated.
Fixes: ce87da71 ("nir: add pass to lower discard() to demote()") Closes: #2662 (closed)