[Mesa-dev] [PATCH 2/3] glsl: make interstage_match() static

Timothy Arceri timothy.arceri at collabora.com
Tue Mar 8 13:47:48 UTC 2016


---
 src/compiler/glsl/link_interface_blocks.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/glsl/link_interface_blocks.cpp b/src/compiler/glsl/link_interface_blocks.cpp
index 64c30fe..9d36836 100644
--- a/src/compiler/glsl/link_interface_blocks.cpp
+++ b/src/compiler/glsl/link_interface_blocks.cpp
@@ -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)
-- 
2.5.0



More information about the mesa-dev mailing list