mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
nv50/ir: Initialize CodeEmitterGM107 members in constructor.
Fix defects reported by Coverity Scan. uninit_member: Non-static class member progType is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member insn is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member data 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/7390>
This commit is contained in:
parent
9c8dfe4a65
commit
a908abd6c4
1 changed files with 4 additions and 1 deletions
|
|
@ -4477,7 +4477,10 @@ CodeEmitterGM107::prepareEmission(Program *prog)
|
|||
CodeEmitterGM107::CodeEmitterGM107(const TargetGM107 *target)
|
||||
: CodeEmitter(target),
|
||||
targGM107(target),
|
||||
writeIssueDelays(target->hasSWSched)
|
||||
progType(Program::TYPE_VERTEX),
|
||||
insn(NULL),
|
||||
writeIssueDelays(target->hasSWSched),
|
||||
data(NULL)
|
||||
{
|
||||
code = NULL;
|
||||
codeSize = codeSizeLimit = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue