From: Karol Herbst Date: Tue, 21 Jul 2020 00:30:35 +0000 (+0200) Subject: nv50/ir: initialize persampleInvocation to false X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a7cd7bd65dacd3008ef229f9e4afb84101d95a2;p=mesa.git nv50/ir: initialize persampleInvocation to false Fixes: random KHR-GL45.sample_variables.mask.* fails Fixes: 66ed9792edb702 ("nv50: Clear nv50_ir_prog_info of dead and codegen specific variables") Signed-off-by: Karol Herbst Part-of: --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp index 1796334b918..18419c1d7cb 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp @@ -1182,6 +1182,7 @@ Program::Program(Type type, Target *arch) maxGPR = -1; fp64 = false; + persampleInvocation = false; main = new Function(this, "MAIN", ~0); calls.insert(&main->call);