nir: Add clone/hash/serialize support for non-uniform tex instructions.

These were missed when the fields got added. Added it everywhere where texture_index got used and it made sense.

Found this in "The Surge 2", where the inliner does not copy the fields, resulting in corruption and hangs.

Fixes: 3bd54576 "nir: Add a lowering pass for non-uniform resource access" Closes: #1203 (closed)

Merge request reports