cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

fred_em
Journeyman III

Using GLSL texelFetch() function

Hi,

I have the following GLSL code:

#version 150 compatibility
#extension GL_EXT_gpu_shader4 : enable

uniform sampler1D tex;

void main(void)
{
  vec4 theValue = texelFetch(tex, 0, 0);
  [...]
}

When I try to use this shader, I get the following compile error:

  error(#202) No matching overloaded function found texelFetch

I'm using an Evergreen card with the latest drivers (10.12).

Thanks,
Fred

 

Tags (1)
0 Likes
2 Replies
frali
Staff
Staff

Using GLSL texelFetch() function

I can't reproduce your problem on Cat10.12. Could you please double check it or provide the whole shader?

0 Likes
fred_em
Journeyman III

Using GLSL texelFetch() function

Sorry, it was one of my mistakes.

 

0 Likes