aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_vec4_nir.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-07-09 14:11:02 -0700
committerMatt Turner <[email protected]>2017-08-21 14:45:44 -0700
commitd37d9f84ac563f106b7209a319492babad560b9f (patch)
tree7d448c0e1d57f79d296f8eb49fd57b22afa53aba /src/intel/compiler/brw_vec4_nir.cpp
parentf30902629cfe9341a85c1af026c80aad83cf4a6e (diff)
i965: Mark functions static
Cuts 300 bytes of .text Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4_nir.cpp')
-rw-r--r--src/intel/compiler/brw_vec4_nir.cpp5
1 files changed, 3 insertions, 2 deletions
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)
{