mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
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:
parent
1d6d2ca9f1
commit
49b32233a0
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue