nir + st: fix multiplane texture lowering
The 1st and 3rd commit fix NIR passes that used texture_index
without considering the case of tex_instr with tex_deref src.
The 2nd commit is a typo fix (||
-> |
).
These 3 commits fixes my test application (on radeonsi
) that uses several samplerExternalOES
, some of them using the NV12 format and the others using a RGBA format.