mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-13 13:30:29 +01:00
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:
parent
673acc3d01
commit
ed2d771931
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue