nir/opt_barriers: Add a default callback
Absent any knowledge about the hardware, if the backend wants to combine barriers we should try to combine all barriers.
I will use this in nir-to-tgsi.
Absent any knowledge about the hardware, if the backend wants to combine barriers we should try to combine all barriers.
I will use this in nir-to-tgsi.