Home | History | Annotate | Download | only in profiles
      1 #version 120
      2 /*
      3  * 8.7 - Texture Lookup Functions
      4  */
      5 vec4 texture1D       (sampler1D sampler, float coord, float bias);
      6 vec4 texture1DProj   (sampler1D sampler, vec2  coord, float bias);
      7 vec4 texture1DProj   (sampler1D sampler, vec4  coord, float bias);
      8 
      9 vec4 texture2D       (sampler2D sampler, vec2 coord, float bias);
     10 vec4 texture2DProj   (sampler2D sampler, vec3 coord, float bias);
     11 vec4 texture2DProj   (sampler2D sampler, vec4 coord, float bias);
     12 
     13 vec4 texture3D       (sampler3D sampler, vec3 coord, float bias);
     14 vec4 texture3DProj   (sampler3D sampler, vec4 coord, float bias);
     15 
     16 vec4 textureCube     (samplerCube sampler, vec3 coord, float bias);
     17 
     18 vec4 shadow1D       (sampler1DShadow sampler, vec3 coord, float bias);
     19 vec4 shadow2D       (sampler2DShadow sampler, vec3 coord, float bias);
     20 vec4 shadow1DProj   (sampler1DShadow sampler, vec4 coord, float bias);
     21 vec4 shadow2DProj   (sampler2DShadow sampler, vec4 coord, float bias);
     22 
     23 /*
     24  * 8.8 - Fragment Processing Functions
     25  */
     26 float dFdx(float p);
     27 vec2  dFdx(vec2  p);
     28 vec3  dFdx(vec3  p);
     29 vec4  dFdx(vec4  p);
     30 
     31 float dFdy(float p);
     32 vec2  dFdy(vec2  p);
     33 vec3  dFdy(vec3  p);
     34 vec4  dFdy(vec4  p);
     35 
     36 float fwidth(float p);
     37 vec2  fwidth(vec2  p);
     38 vec3  fwidth(vec3  p);
     39 vec4  fwidth(vec4  p);
     40