[Mesa-dev] [PATCH] glsl: clean up textureSize prototype
Timothy Arceri
t_arceri at yahoo.com.au
Thu Aug 27 20:25:08 PDT 2015
On Thu, 2015-08-27 at 23:08 -0400, Ilia Mirkin wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>
> ---
> src/glsl/builtin_functions.cpp | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp
> index 4092d68..5e05199 100644
> --- a/src/glsl/builtin_functions.cpp
> +++ b/src/glsl/builtin_functions.cpp
> @@ -666,10 +666,7 @@ private:
> B1(any);
> B1(all);
> B1(not);
> - B2(textureSize);
> - ir_function_signature *_textureSize(builtin_available_predicate avail,
> - const glsl_type *return_type,
> - const glsl_type *sampler_type);
> + BA2(textureSize);
>
> /** Flags to _texture() */
> #define TEX_PROJECT 1
More information about the mesa-dev
mailing list