v3d: some v3d40_tex improvements
Three little improvements that we found while working on the Vulkan driver. Two of them would be needed for Vulkan, and the three are nice-to-have improvements for GL, so let's send them in advance to merge to avoid keeping accumulating patches.
Edited by Alejandro Piñeiro