glsl/builtins: Uncomment textureSize prototypes.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 25 Feb 2011 23:14:47 +0000 (15:14 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 23 Aug 2011 18:18:03 +0000 (11:18 -0700)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/glsl/builtins/profiles/130.frag
src/glsl/builtins/profiles/130.vert

index 0e3c7ac4199db9af8edbf3d6fc109fcc00864813..c121859f14ca5de9bdd5952698b0027827bfacb6 100644 (file)
@@ -465,7 +465,6 @@ bvec4 not(bvec4 x);
  * 8.7 - Texture Lookup Functions
  */
 
-#if 0
 /* textureSize */
 int   textureSize( sampler1D sampler, int lod);
 int   textureSize(isampler1D sampler, int lod);
@@ -496,7 +495,6 @@ ivec3 textureSize(usampler2DArray sampler, int lod);
 
 ivec2 textureSize(sampler1DArrayShadow sampler, int lod);
 ivec3 textureSize(sampler2DArrayShadow sampler, int lod);
-#endif
 
 /* texture - no bias */
  vec4 texture( sampler1D sampler, float P);
index f85b27f8f8c402fc0a4cda4cdc2b9a08a490401c..ebd9a50885187c84804637a54968a209909c4505 100644 (file)
@@ -467,7 +467,6 @@ bvec4 not(bvec4 x);
  * 8.7 - Texture Lookup Functions
  */
 
-#if 0
 /* textureSize */
 int   textureSize( sampler1D sampler, int lod);
 int   textureSize(isampler1D sampler, int lod);
@@ -498,7 +497,6 @@ ivec3 textureSize(usampler2DArray sampler, int lod);
 
 ivec2 textureSize(sampler1DArrayShadow sampler, int lod);
 ivec3 textureSize(sampler2DArrayShadow sampler, int lod);
-#endif
 
 /* texture - no bias */
  vec4 texture( sampler1D sampler, float P);