nir: initialize needs_helper_invocations as well

Similar to the previous commit, we should also initialize
needs_helper_invocations here.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Erik Faye-Lund
2019-10-03 15:45:41 -04:00
parent 1d6d2ca9f1
commit 49b32233a0

View File

@@ -382,6 +382,7 @@ nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint)
if (shader->info.stage == MESA_SHADER_FRAGMENT) { if (shader->info.stage == MESA_SHADER_FRAGMENT) {
shader->info.fs.uses_sample_qualifier = false; shader->info.fs.uses_sample_qualifier = false;
shader->info.fs.uses_discard = false; shader->info.fs.uses_discard = false;
shader->info.fs.needs_helper_invocations = false;
} }
void *dead_ctx = ralloc_context(NULL); void *dead_ctx = ralloc_context(NULL);