summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorAndres Gomez <[email protected]>2016-08-02 14:26:23 +0300
committerAndres Gomez <[email protected]>2016-08-05 14:27:11 +0300
commit8f98a120f39fc228cf4d8d7cfe82fd9757c5d3ed (patch)
tree985eae9a78f15ef5df420f182b260333e0e14d07 /src/compiler/glsl/ast_to_hir.cpp
parent1443c10d74b04ea9b377a304c4b577b85929d776 (diff)
glsl: apply_implicit_conversion is static again
Reviewed-by: Timothy Arceri <[email protected]> Signed-off-by: Andres Gomez <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast_to_hir.cpp')
-rw-r--r--src/compiler/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp
index ec12ff81351..f189075cc50 100644
--- a/src/compiler/glsl/ast_to_hir.cpp
+++ b/src/compiler/glsl/ast_to_hir.cpp
@@ -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)
{