2 Replies Latest reply on Jan 19, 2011 7:12 AM by fred_em

    Using GLSL texelFetch() function

    fred_em

      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