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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user