Mesa (master): nv50/ir: initialize persampleInvocation to false
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 21 12:26:36 UTC 2020
Module: Mesa
Branch: master
Commit: 3a7cd7bd65dacd3008ef229f9e4afb84101d95a2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a7cd7bd65dacd3008ef229f9e4afb84101d95a2
Author: Karol Herbst <kherbst at redhat.com>
Date: Tue Jul 21 02:30:35 2020 +0200
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 at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6001>
---
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);
More information about the mesa-commit
mailing list