Fixes NIR validation errors for OpenMW on Panfrost.
Fixes: 1f97819f ("panfrost: Emulate GL_CLAMP on Bifrost")
Is this the right way of fixing this problem?
What actually needs to be copied? I also added
is_array because I saw it there, but what about
is_sparse? What about
texture_non_uniform? And so on…
Does it make more sense to patch the existing texture instruction rather than creating a new one?