r600/sfn: Initialize VertexStageExportForGS m_num_clip_dist member variable.
authorVinson Lee <vlee@freedesktop.org>
Sat, 23 May 2020 00:40:14 +0000 (17:40 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 23 May 2020 20:47:07 +0000 (20:47 +0000)
commit73c0f60d8c7c832b49da64740f5d9cbe130811b1
tree24a7134d2dd375e637f6172c7bc72a5c5e0eaa34
parent76a2aeeef3d314e3eb1f35029e1e86bf69ad5689
r600/sfn: Initialize VertexStageExportForGS m_num_clip_dist member variable.

Fix warning reported by Coverity Scan.

Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member m_num_clip_dist is not
initialized in this constructor nor in any functions that it calls.

Fixes: f7df2c57a207 ("r600/sfn: extract class to handle the VS export to different stages")
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/5180>
src/gallium/drivers/r600/sfn/sfn_vertexstageexport.cpp