glsl: apply_implicit_conversion is static again
authorAndres Gomez <agomez@igalia.com>
Tue, 2 Aug 2016 11:26:23 +0000 (14:26 +0300)
committerAndres Gomez <agomez@igalia.com>
Fri, 5 Aug 2016 11:27:11 +0000 (14:27 +0300)
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
src/compiler/glsl/ast_function.cpp
src/compiler/glsl/ast_to_hir.cpp

index 9b1fa45d1ae72df965c4cbf947df6d5233d821a8..6493c4f86b94f06105f16de0309e45f34234c6f4 100644 (file)
 static ir_rvalue *
 convert_component(ir_rvalue *src, const glsl_type *desired_type);
 
-bool
-apply_implicit_conversion(const glsl_type *to, ir_rvalue * &from,
-                          struct _mesa_glsl_parse_state *state);
-
 static unsigned
 process_parameters(exec_list *instructions, exec_list *actual_parameters,
                   exec_list *parameters,
index ec12ff813510f7c26d5d4edd5212dec9b11657b6..f189075cc501fbfb02c1732c1e395f0c6c4cb4aa 100644 (file)
@@ -280,7 +280,7 @@ get_implicit_conversion_operation(const glsl_type *to, const glsl_type *from,
  * If a conversion is possible (or unnecessary), \c true is returned.
  * Otherwise \c false is returned.
  */
-bool
+static bool
 apply_implicit_conversion(const glsl_type *to, ir_rvalue * &from,
                           struct _mesa_glsl_parse_state *state)
 {