r600/sfn: Initialize TestShaderFromString member m_instr_factory.
Fix defect reported by Coverity Scan.
Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member m_instr_factory is not
initialized in this constructor nor in any functions that it calls.
Fixes: 79ca456b48
("r600/sfn: rewrite NIR backend")
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/17584>
This commit is contained in:
parent
1f28d221d9
commit
6b3af02a6f
|
@ -33,7 +33,7 @@ public:
|
|||
protected:
|
||||
void check(const vector<PInst>& eval, const std::vector<PInst, Allocator<PInst>>& expect);
|
||||
private:
|
||||
InstrFactory *m_instr_factory;
|
||||
InstrFactory *m_instr_factory = nullptr;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue