r600/sfn: Initialize BlockScheduler member m_chip_family.

Fix defect reported by Coverity Scan.

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

Fixes: e57643cf54 ("r600/sfn: Add handling for R600 indirect access alias handling")
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/23290>
This commit is contained in:
Vinson Lee 2023-05-28 20:35:54 -07:00 committed by Marge Bot
parent 673acc3d01
commit ed2d771931

View file

@ -280,7 +280,8 @@ BlockScheduler::BlockScheduler(r600_chip_class chip_class,
m_last_pixel(nullptr),
m_last_param(nullptr),
m_current_block(nullptr),
m_chip_class(chip_class)
m_chip_class(chip_class),
m_chip_family(chip_family)
{
m_nop_after_rel_dest = chip_family == CHIP_RV770;