nvir/gm107: Initialize SchedDataCalculatorGM107 member score.
authorVinson Lee <vlee@freedesktop.org>
Tue, 27 Oct 2020 01:26:00 +0000 (18:26 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 13 Nov 2020 23:27:12 +0000 (23:27 +0000)
commit5adba503ddf0dea1c34d11c0cf505eff3a2eb70c
treebc883acec05c8d3781b75024579da14f2587f908
parent4b65c09d86d37efa34e93b17b0e4a03546f26af9
nvir/gm107: Initialize SchedDataCalculatorGM107 member score.

Fix defect reported by Coverity Scan.

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

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7324>
src/gallium/drivers/nouveau/codegen/nv50_ir_sched_gm107.h