diff options
author | Karol Herbst <kherbst@redhat.com> | 2020-07-21 02:30:35 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-07-21 12:16:54 +0000 |
commit | 3a7cd7bd65dacd3008ef229f9e4afb84101d95a2 (patch) | |
tree | a5b18f8824db7d807d3a7c80a086fa235db46fab /src/gallium/drivers/nouveau/codegen | |
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>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |