commit | 3a7cd7bd65dacd3008ef229f9e4afb84101d95a2 | [log] [tgz] |
---|---|---|
author | Karol Herbst <kherbst@redhat.com> | Tue Jul 21 02:30:35 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Jul 21 12:16:54 2020 +0000 |
tree | a5b18f8824db7d807d3a7c80a086fa235db46fab | |
parent | 618b3555045bd4120f4e2ea731854a1c1f3f252c [diff] |
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 <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6001>
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp index 1796334..18419c1 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
@@ -1182,6 +1182,7 @@ maxGPR = -1; fp64 = false; + persampleInvocation = false; main = new Function(this, "MAIN", ~0); calls.insert(&main->call);