r600/sfn: make number of source components a local variable
authorGert Wollny <gert.wollny@collabora.com>
Sat, 19 Sep 2020 13:24:15 +0000 (15:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 21 Sep 2020 17:16:54 +0000 (17:16 +0000)
commiteb3199db3e558672a332f9fcf26f90b9c3c04498
treed8af0a0deebe75bffa8265eef8a0bb61f760036b
parentd78e7b7aee8c2da6235820bd4790c5ddbf39febd
r600/sfn: make number of source components a local variable

There is no need to keep that value as a member and it irritates
Coverity.

Fixes: 688680decce9
  r600/nir: fetch sources and split uniforms before emittting alu instructions

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6787>
src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp
src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.h