From 49b32233a0b714a6293584864fc609f55cc5f7a4 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 3 Oct 2019 15:45:41 -0400 Subject: [PATCH] nir: initialize needs_helper_invocations as well Similar to the previous commit, we should also initialize needs_helper_invocations here. Reviewed-by: Kenneth Graunke --- src/compiler/nir/nir_gather_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir_gather_info.c b/src/compiler/nir/nir_gather_info.c index 09147bd5a50..3bf0d448356 100644 --- a/src/compiler/nir/nir_gather_info.c +++ b/src/compiler/nir/nir_gather_info.c @@ -382,6 +382,7 @@ nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint) if (shader->info.stage == MESA_SHADER_FRAGMENT) { shader->info.fs.uses_sample_qualifier = false; shader->info.fs.uses_discard = false; + shader->info.fs.needs_helper_invocations = false; } void *dead_ctx = ralloc_context(NULL); -- 2.30.2