Texfetch Coordinates out of bound

Hello,

Does anyone know what would be the result of Texfetch if my coordinates were out of bounds or even negative?

Intuitively I would say the returned value will be zero. Is this right?

regards
Pototschnig

Section 4.3.4 from the programming guide:
Textures allocated in linear memory can only be of dimensionality equal to 1 and addressed using a non-normalized integer texture coordinate; they do not support the linear filtering mode and the various addressing modes: Out-of-range texture accesses return zero.

So it’s true for the 1D texture. For 2D textures you got two addresses modes. See same section (page 24). You have details about handling out of range adresses textures.