diff options
author | Matt Turner <[email protected]> | 2017-07-09 14:12:31 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-21 14:45:44 -0700 |
commit | ca73c3358c91434e68ab31c23d13986d87c661cd (patch) | |
tree | e3fe5a12f3be5dfaceb699418c1822d495a2d4c8 /src/compiler/glsl/ast_to_hir.cpp | |
parent | d37d9f84ac563f106b7209a319492babad560b9f (diff) |
glsl: Mark functions static
Cuts 3224 bytes of .text
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast_to_hir.cpp')
-rw-r--r-- | src/compiler/glsl/ast_to_hir.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index f0a96c3e1e8..98d2f94e129 100644 --- a/src/compiler/glsl/ast_to_hir.cpp +++ b/src/compiler/glsl/ast_to_hir.cpp @@ -1182,7 +1182,7 @@ do_comparison(void *mem_ctx, int operation, ir_rvalue *op0, ir_rvalue *op1) * scalar booleans. If it isn't, emit an error and return a constant * boolean to avoid triggering cascading error messages. */ -ir_rvalue * +static ir_rvalue * get_scalar_boolean_operand(exec_list *instructions, struct _mesa_glsl_parse_state *state, ast_expression *parent_expr, @@ -4322,7 +4322,7 @@ get_variable_being_redeclared(ir_variable *var, YYLTYPE loc, /** * Generate the IR for an initializer in a variable declaration */ -ir_rvalue * +static ir_rvalue * process_initializer(ir_variable *var, ast_declaration *decl, ast_fully_specified_type *type, exec_list *initializer_instructions, @@ -4719,7 +4719,7 @@ handle_geometry_shader_input_decl(struct _mesa_glsl_parse_state *state, "geometry shader input"); } -void +static void validate_identifier(const char *identifier, YYLTYPE loc, struct _mesa_glsl_parse_state *state) { |