From: Eric Anholt Date: Mon, 16 Apr 2012 18:43:47 +0000 (-0700) Subject: glsl: Fix the prototype of textureProjGradOffset(sampler2DShadow) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9fed9f3d537f4f28ea19996fe34463d15831411;p=mesa.git glsl: Fix the prototype of textureProjGradOffset(sampler2DShadow) Indirectly caught by Ken's review of my GLSL 1.40 changes where I copy-and-pasted this line. Reviewed-by: Kenneth Graunke --- diff --git a/src/glsl/builtins/profiles/140.frag b/src/glsl/builtins/profiles/140.frag index ba616a1cf7f..3eeecd1d72c 100644 --- a/src/glsl/builtins/profiles/140.frag +++ b/src/glsl/builtins/profiles/140.frag @@ -958,7 +958,7 @@ ivec4 textureProjGradOffset(isampler3D s, vec4 P, vec3 dx, vec3 dy, ivec3 off); uvec4 textureProjGradOffset(usampler3D s, vec4 P, vec3 dx, vec3 dy, ivec3 off); float textureProjGradOffset(sampler1DShadow s, vec4 P, float dx, float dy, int o); -float textureProjGradOffset(sampler2DShadow s, vec4 P, vec2 dx, vec2 dy, vec2 o); +float textureProjGradOffset(sampler2DShadow s, vec4 P, vec2 dx, vec2 dy, ivec2 o); /* * The following texture functions are deprecated: