From d37d9f84ac563f106b7209a319492babad560b9f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 9 Jul 2017 14:11:02 -0700 Subject: i965: Mark functions static Cuts 300 bytes of .text Reviewed-by: Jordan Justen --- src/intel/compiler/brw_vec4_nir.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/intel/compiler/brw_vec4_nir.cpp') diff --git a/src/intel/compiler/brw_vec4_nir.cpp b/src/intel/compiler/brw_vec4_nir.cpp index 0e8807c5b42..211682916f5 100644 --- a/src/intel/compiler/brw_vec4_nir.cpp +++ b/src/intel/compiler/brw_vec4_nir.cpp @@ -2049,7 +2049,7 @@ vec4_visitor::nir_emit_jump(nir_jump_instr *instr) } } -enum ir_texture_opcode +static enum ir_texture_opcode ir_texture_opcode_for_nir_texop(nir_texop texop) { enum ir_texture_opcode op; @@ -2073,7 +2073,8 @@ ir_texture_opcode_for_nir_texop(nir_texop texop) return op; } -const glsl_type * + +static const glsl_type * glsl_type_for_nir_alu_type(nir_alu_type alu_type, unsigned components) { -- cgit v1.2.3