aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_vector.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-07-09 14:12:31 -0700
committerMatt Turner <[email protected]>2017-08-21 14:45:44 -0700
commitca73c3358c91434e68ab31c23d13986d87c661cd (patch)
treee3fe5a12f3be5dfaceb699418c1822d495a2d4c8 /src/compiler/glsl/lower_vector.cpp
parentd37d9f84ac563f106b7209a319492babad560b9f (diff)
glsl: Mark functions static
Cuts 3224 bytes of .text Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_vector.cpp')
-rw-r--r--src/compiler/glsl/lower_vector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_vector.cpp b/src/compiler/glsl/lower_vector.cpp
index 72192b1b258..4024644b062 100644
--- a/src/compiler/glsl/lower_vector.cpp
+++ b/src/compiler/glsl/lower_vector.cpp
@@ -58,7 +58,7 @@ public:
* Extended swizzles consist of access of a single vector source (with possible
* per component negation) and the constants -1, 0, or 1.
*/
-bool
+static bool
is_extended_swizzle(ir_expression *ir)
{
/* Track any variables that are accessed by this expression.