zqueezy

tessellation evaluation shader texture2D

Discussion created by zqueezy on May 2, 2011
Latest reply on May 3, 2011 by zqueezy
bug?

heyhey,

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

thanks

 zqueezy

 

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

Outcomes