Skip to content

r600/sb: Initialize sb_context members in constructor.

Vinson Lee requested to merge vlee/mesa:fix-cid-1016614 into master

Fix defects reported by Coverity Scan.

Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member alu_temp_gprs is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member max_fetch is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member has_trans is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member vtx_src_num is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member num_slots is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member uses_mova_gpr is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member r6xx_gpr_index_workaround is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member stack_workaround_8xx is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member stack_workaround_9xx is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member wavefront_size is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member stack_entry_size is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports