PDA

View Full Version : ATI - texture access in vertex shader?



asheridan
07-19-2005, 07:30 AM
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.

Thanks,
Andrew

mrbill
07-19-2005, 07:50 AM
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

asheridan
07-19-2005, 08:44 AM
Bummer...

Thanks for the answer.