diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp index 8a167d70abf..385cb024e66 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp @@ -365,6 +365,7 @@ IndirectPropagation::visit(BasicBlock *bb) class ConstantFolding : public Pass { public: + ConstantFolding() : foldCount(0) {} bool foldAll(Program *); private: