aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_fp.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-02-27 16:43:13 -0800
committerIan Romanick <[email protected]>2015-03-09 14:07:13 -0700
commite4f26acc08a3d852e60a27d0f0da7001944cb607 (patch)
tree5bf7f12d45a0dda2ab69deb8470b3048df354d7a /src/mesa/drivers/dri/i965/brw_fs_fp.cpp
parent1e552db5228e4e0acdef1d4bec4503f7116a2622 (diff)
i965/fs: Silence unused parameter warning
brw_fs_visitor.cpp:2162:56: warning: unused parameter 'offset_components' [-Wunused-parameter] fs_reg offset_value, unsigned offset_components, ^ Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_fp.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_fp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_fp.cpp b/src/mesa/drivers/dri/i965/brw_fs_fp.cpp
index d22de0e5145..6d08bf7b539 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_fp.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_fp.cpp
@@ -475,7 +475,7 @@ fs_visitor::emit_fragment_program_code()
emit_texture(op, glsl_type::vec4_type, coordinate, coord_components,
shadow_c, lod, dpdy, 0, sample_index,
- reg_undef, 0, /* offset, components */
+ reg_undef, /* offset */
reg_undef, /* mcs */
0, /* gather component */
false, /* is cube array */