summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-04-16 11:43:47 -0700
committerEric Anholt <[email protected]>2012-04-16 11:59:19 -0700
commitb9fed9f3d537f4f28ea19996fe34463d15831411 (patch)
treeec9a34c697f090e88a3cede9afd9fbbcde24b7fb /src/glsl/builtins
parent56e2f97697846c800b2ce53ad0bed87e3c1a5767 (diff)
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 <[email protected]>
Diffstat (limited to 'src/glsl/builtins')
-rw-r--r--src/glsl/builtins/profiles/140.frag2
1 files changed, 1 insertions, 1 deletions
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: