diff options
author | Ian Romanick <[email protected]> | 2016-05-12 17:44:46 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-05-18 10:53:34 -0700 |
commit | f687b8e1785df0825443f07778e5d0ddf6f9be09 (patch) | |
tree | 495c74d993335d5fe4128b9ea6d59436bf701613 /src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp | |
parent | 1d628ea09df4911e897292186dc8242903c7a502 (diff) |
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 <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp index cc4a2de89d5..1873d9ca16e 100644 --- a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp +++ b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp @@ -59,8 +59,7 @@ public: } 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) { unreachable("Not reached"); } |