From: Kenneth Graunke Date: Sat, 26 Feb 2011 00:33:40 +0000 (-0800) Subject: glsl/builtins: Fix return type for textureSize sampler2DArray variants. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a385ac62070fa68052c77df7be62685bf6a58992;p=mesa.git glsl/builtins: Fix return type for textureSize sampler2DArray variants. A copy and paste error. --- diff --git a/src/glsl/builtins/profiles/130.frag b/src/glsl/builtins/profiles/130.frag index 43653a906f8..0e3c7ac4199 100644 --- a/src/glsl/builtins/profiles/130.frag +++ b/src/glsl/builtins/profiles/130.frag @@ -491,8 +491,8 @@ ivec2 textureSize( sampler1DArray sampler, int lod); ivec2 textureSize(isampler1DArray sampler, int lod); ivec2 textureSize(usampler1DArray sampler, int lod); ivec3 textureSize( sampler2DArray sampler, int lod); -ivec2 textureSize(isampler2DArray sampler, int lod); -ivec2 textureSize(usampler2DArray sampler, int lod); +ivec3 textureSize(isampler2DArray sampler, int lod); +ivec3 textureSize(usampler2DArray sampler, int lod); ivec2 textureSize(sampler1DArrayShadow sampler, int lod); ivec3 textureSize(sampler2DArrayShadow sampler, int lod); diff --git a/src/glsl/builtins/profiles/130.vert b/src/glsl/builtins/profiles/130.vert index 742dec6e6d5..f85b27f8f8c 100644 --- a/src/glsl/builtins/profiles/130.vert +++ b/src/glsl/builtins/profiles/130.vert @@ -493,8 +493,8 @@ ivec2 textureSize( sampler1DArray sampler, int lod); ivec2 textureSize(isampler1DArray sampler, int lod); ivec2 textureSize(usampler1DArray sampler, int lod); ivec3 textureSize( sampler2DArray sampler, int lod); -ivec2 textureSize(isampler2DArray sampler, int lod); -ivec2 textureSize(usampler2DArray sampler, int lod); +ivec3 textureSize(isampler2DArray sampler, int lod); +ivec3 textureSize(usampler2DArray sampler, int lod); ivec2 textureSize(sampler1DArrayShadow sampler, int lod); ivec3 textureSize(sampler2DArrayShadow sampler, int lod);