glsl: make interstage_match() static
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 8 Mar 2016 11:33:44 +0000 (22:33 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 8 Mar 2016 22:21:36 +0000 (09:21 +1100)
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/glsl/link_interface_blocks.cpp

index 64c30fe..9d36836 100644 (file)
@@ -90,7 +90,7 @@ intrastage_match(ir_variable *a,
  * an array and the producer interface is required to be a non-array.
  * This is used for tessellation control and geometry shader consumers.
  */
-bool
+static bool
 interstage_match(ir_variable *producer,
                  ir_variable *consumer,
                  bool extra_array_level)