summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2021-08-09 17:33:04 -0700
committerVinson Lee <vlee@freedesktop.org>2021-12-29 23:31:33 -0800
commit94351c94dbab22d0ad0f524dbf945795fb554a16 (patch)
treedad60d5957b1ae96fff28826f699fbf802fe3fbb
parent9130e4564b8481b51c6d709bc9b8466cd223b722 (diff)
r600/sfn: Remove unused AluInstruction members.
Fix defects reported by Coverity Scan. uninit_member: Non-static class member m_omod is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member m_pred_sel is not initialized in this constructor nor in any functions that it calls. Suggested-by: Emma Anholt <emma@anholt.net> Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12294>
-rw-r--r--src/gallium/drivers/r600/sfn/sfn_instruction_alu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_instruction_alu.h b/src/gallium/drivers/r600/sfn/sfn_instruction_alu.h
index 383fa3bafb5..ecf563c8a0e 100644
--- a/src/gallium/drivers/r600/sfn/sfn_instruction_alu.h
+++ b/src/gallium/drivers/r600/sfn/sfn_instruction_alu.h
@@ -133,8 +133,6 @@ private:
PValue m_dest;
std::vector<PValue> m_src;
AluOpFlags m_flags;
- AluDstModifiers m_omod;
- AluPredSel m_pred_sel;
AluBankSwizzle m_bank_swizzle;
ECFAluOpCode m_cf_type;
};