diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2011-02-25 16:33:40 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2011-02-27 00:44:47 -0800 |
commit | a385ac62070fa68052c77df7be62685bf6a58992 (patch) | |
tree | 1598a2415241480a2f2c9c271065d93f9cc13650 /src/glsl | |
parent | 5f889c5bf5221f2af2f34e47f20bd1b98c061fbe (diff) |
glsl/builtins: Fix return type for textureSize sampler2DArray variants.
A copy and paste error.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/builtins/profiles/130.frag | 4 | ||||
-rw-r--r-- | src/glsl/builtins/profiles/130.vert | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/builtins/profiles/130.frag b/src/glsl/builtins/profiles/130.frag index 43653a906f..0e3c7ac419 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 742dec6e6d..f85b27f8f8 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); |