diff options
author | Ian Romanick <[email protected]> | 2016-10-10 17:11:34 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-10-17 11:32:03 -0700 |
commit | 89e1436e2d4ff0c15202708979eb36761cae4167 (patch) | |
tree | 46ece2c0948e24c973e38120a4d7786d096fca05 /src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | |
parent | 7c0c3740f01179cc2929cb3343e098d35c927092 (diff) |
i965: Silence unused parameter warnings
brw_link.cpp:76:44: warning: unused parameter ‘shader_type’ [-Wunused-parameter]
gl_shader_stage shader_type,
^
brw_nir.c: In function ‘brw_nir_lower_vs_inputs’:
brw_nir.c:194:55: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
const struct gen_device_info *devinfo,
^
brw_vec4_visitor.cpp:914:37: warning: unused parameter ‘sampler’ [-Wunused-parameter]
uint32_t sampler,
^
brw_vec4_visitor.cpp:1146:34: warning: unused parameter ‘stream_id’ [-Wunused-parameter]
vec4_visitor::gs_emit_vertex(int stream_id)
^
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 3e785bc52d9..eca753c7a74 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -909,7 +909,6 @@ vec4_visitor::emit_texture(ir_texture_opcode op, src_reg mcs, uint32_t surface, src_reg surface_reg, - uint32_t sampler, src_reg sampler_reg) { /* The sampler can only meaningfully compute LOD for fragment shader @@ -1141,7 +1140,7 @@ vec4_visitor::emit_gen6_gather_wa(uint8_t wa, dst_reg dst) } void -vec4_visitor::gs_emit_vertex(int stream_id) +vec4_visitor::gs_emit_vertex(int /* stream_id */) { unreachable("not reached"); } |