mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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: 5d10e3ec60 ("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>
This commit is contained in:
parent
ed1fd7bcc6
commit
1241f8cb4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue