Hi,
when I do successive texture fetches using the same texture coordinate, without doing any other texture fetches in between (doesn't seem to make sense, yeah, but it does in my context ), does it mean the value I receive is already in the texture cache? And is the tex. fetch thus quicker than a random location texture fetch?
Another question: when I do some mathematical computations in a pixel shader and one operand is always 0 so that the result is 0 as well, are these computations executed quicker than in the case when the operand is != 0 so that the computations actually have to be executed to receive the result?
Best Regards
Nico
Hardware: NVIDIA GeForce 7800GTX
when I do successive texture fetches using the same texture coordinate, without doing any other texture fetches in between (doesn't seem to make sense, yeah, but it does in my context ), does it mean the value I receive is already in the texture cache? And is the tex. fetch thus quicker than a random location texture fetch?
Another question: when I do some mathematical computations in a pixel shader and one operand is always 0 so that the result is 0 as well, are these computations executed quicker than in the case when the operand is != 0 so that the computations actually have to be executed to receive the result?
Best Regards
Nico
Hardware: NVIDIA GeForce 7800GTX