ATI - texture access in vertex shader?

Does ATI support texture access from within a vertex shader? I’ve written a vertex shader that works fine on nVidia, but I get a “Link failed” when attempting to use the shader with an ATI card (specifically, a Radeon x700 with the latest drivers on Windows). Compiling and linking succeeds if I comment out the line containing texture2D function call.

Forgive me if this has been covered before. I poked around the forums and couldn’t find a direct answer.


Not at this time.

You need to look at the implementation dependent limit GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS. The minimum maximum is zero, and the limit on ATI cards from Radeon 9550 through Radeon X850 cards is zero.

-mr. bill


Thanks for the answer.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.