textureGather needs to not choose centers of texels because depending on the backend it could choose the texels to the left or right (up or down) from the texture coordinate.
There was code to do this but it needed to know it was being used for textureGather.
textureGather needs to not choose centers of texels because depending on the backend it could choose the texels to the left or right (up or down) from the texture coordinate.
There was code to do this but it needed to know it was being used for textureGather.