r600/sfn: Use correct setter method.
authorVinson Lee <vlee@freedesktop.org>
Mon, 25 May 2020 00:18:04 +0000 (17:18 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 20:34:36 +0000 (20:34 +0000)
commit1241f8cb4c9c6cc65106a085be81963f3505a7d5
tree5c47872de4d0d92767db253d3bd88bd5a45e270d
parented1fd7bcc6f76b70ab63a6dbb1f0c9e073db84df
r600/sfn: Use correct setter method.

Fix warning reported by Coverity Scan.

Useless call (USELESS_CALL)
side_effect_free: Calling v->pin_to_channel() is only useful for its
return value, which is ignored.

Fixes: 5d10e3ec6066 ("r600/nir: Pin interpolation results to channel")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5197>
src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp