Mesa (master): glsl: clean up textureSize prototype

Ilia Mirkin imirkin at kemper.freedesktop.org
Fri Aug 28 03:49:39 UTC 2015


Module: Mesa
Branch: master
Commit: 4a6a47ed056f37544083048287fec96c88e0e386
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6a47ed056f37544083048287fec96c88e0e386

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Aug 12 11:55:53 2015 -0400

glsl: clean up textureSize prototype

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-commit mailing list