From: Erik Faye-Lund Date: Thu, 3 Oct 2019 19:45:41 +0000 (-0400) Subject: nir: initialize needs_helper_invocations as well X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49b32233a0b714a6293584864fc609f55cc5f7a4;p=mesa.git nir: initialize needs_helper_invocations as well Similar to the previous commit, we should also initialize needs_helper_invocations here. Reviewed-by: Kenneth Graunke --- 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);