From 3a7cd7bd65dacd3008ef229f9e4afb84101d95a2 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Tue, 21 Jul 2020 02:30:35 +0200 Subject: [PATCH] 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: --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2