summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_vector.cpp
diff options
context:
space:
mode:
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.