aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2020-05-24 17:18:04 -0700
committerMarge Bot <[email protected]>2020-05-25 20:34:36 +0000
commit1241f8cb4c9c6cc65106a085be81963f3505a7d5 (patch)
tree5c47872de4d0d92767db253d3bd88bd5a45e270d /src/gallium/drivers/r600
parented1fd7bcc6f76b70ab63a6dbb1f0c9e073db84df (diff)
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 <[email protected]> Reviewed-by: Gert Wollny <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5197>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp b/src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp
index 35d90a87b22..bc4a0a59e65 100644
--- a/src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp
+++ b/src/gallium/drivers/r600/sfn/sfn_value_gpr.cpp
@@ -149,7 +149,7 @@ void GPRVector::set_reg_i(int i, PValue reg)
void GPRVector::pin_to_channel(int i)
{
auto& v = static_cast<GPRValue&>(*m_elms[i]);
- v.pin_to_channel();
+ v.set_pin_to_channel();
}
void GPRVector::do_print(std::ostream& os) const