nv50/ir: initialize persampleInvocation to false
authorKarol Herbst <kherbst@redhat.com>
Tue, 21 Jul 2020 00:30:35 +0000 (02:30 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jul 2020 12:16:54 +0000 (12:16 +0000)
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 <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6001>

src/gallium/drivers/nouveau/codegen/nv50_ir.cpp

index 1796334b91815292911bb72b023a055b0dc183a4..18419c1d7cbe495055d028ac13df139bccd1747d 100644 (file)
@@ -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);