mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 18:50:10 +01:00
nv50/ir: Initialize Converter members.
Fix defects reported by Coverity Scan. Uninitialized pointer field (UNINIT_CTOR) Non-static class member exit is not initialized in this constructor nor in any functions that it calls Non-static class member immInsertPos 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/6695>
This commit is contained in:
parent
e607477d7c
commit
c7719b8cfc
1 changed files with 2 additions and 0 deletions
|
|
@ -198,6 +198,8 @@ Converter::Converter(Program *prog, nir_shader *nir, nv50_ir_prog_info *info,
|
|||
nir(nir),
|
||||
curLoopDepth(0),
|
||||
curIfDepth(0),
|
||||
exit(NULL),
|
||||
immInsertPos(NULL),
|
||||
clipVertexOutput(-1)
|
||||
{
|
||||
zero = mkImm((uint32_t)0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue