summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_tcs.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-05-12 17:44:46 -0700
committerIan Romanick <ian.d.romanick@intel.com>2016-05-18 10:53:34 -0700
commitf687b8e1785df0825443f07778e5d0ddf6f9be09 (patch)
tree495c74d993335d5fe4128b9ea6d59436bf701613 /src/mesa/drivers/dri/i965/brw_vec4_tcs.h
parent1d628ea09df4911e897292186dc8242903c7a502 (diff)
downloadexternal_mesa3d-f687b8e1785df0825443f07778e5d0ddf6f9be09.zip
external_mesa3d-f687b8e1785df0825443f07778e5d0ddf6f9be09.tar.gz
external_mesa3d-f687b8e1785df0825443f07778e5d0ddf6f9be09.tar.bz2
i965: Silence unused parameter warnings
The only place that actually used the type parameter was the GS visitor, and it was always passed glsl_type::int. Just remove the parameter. brw_vec4_vs_visitor.cpp:38:61: warning: unused parameter ‘type’ [-Wunused-parameter] const glsl_type *type) ^ Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_tcs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_tcs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_tcs.h b/src/mesa/drivers/dri/i965/brw_vec4_tcs.h
index a6de2b1..329cd7d 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_tcs.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4_tcs.h
@@ -49,8 +49,7 @@ public:
const struct brw_vue_map *input_vue_map);
protected:
- virtual dst_reg *make_reg_for_system_value(int location,
- const glsl_type *type);
+ virtual dst_reg *make_reg_for_system_value(int location);
virtual void nir_setup_system_value_intrinsic(nir_intrinsic_instr *instr);
virtual void setup_payload();
virtual void emit_prolog();