I wanted to ask if anybody can confirm this behaviour... I have a tessellation evaluation shader (glsl) and do a texture2D in there (for displacement mapping).
The compiler tells me 'No matching overloaded function found texture2D'.
Is there no texture access in this type of shader or did I do something wrong? I'd like to spare you my 400 lines shader (which works on NVIDIA card).
also I'm using 11.4 Catalyst on a Radeon 5870 Mobile
PS: I checked google and 'no' my
texture2D( u_sampDisplacement, vec2( vTexCoord.xy ) )
call has no local variable u_sampDisplacement and also vTexCoord.xy or vTexCoord (which is vec2) does not work
Ok. I solved it. Short answer: rtfm.
texture2D is now texture
hope it helps somebody...
thread can be closed, sorry for inconvenience