From: Erik Faye-Lund Date: Thu, 3 Oct 2019 19:45:41 +0000 (-0400) Subject: nir: initialize needs_helper_invocations as well X-Git-Tag: upstream/19.3.0~1403 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49b32233a0b714a6293584864fc609f55cc5f7a4;p=platform%2Fupstream%2Fmesa.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 09147bd..3bf0d44 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);