Skip to content

aco: Initialize spill_ctx members in constructor.

Vinson Lee requested to merge vlee/mesa:fix-cid-1507295 into main

Fix defects reported by Coverity Scan.

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

Fixes: 7d340449 ("aco: refactor VGPR spill/reload lowering") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports