nir/gather_info: clear interpolation qualifiers before gathering

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Fixes: 66740d9c91 ("nir: gather interpolation qualifiers")
(cherry picked from commit a72704d0fb)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40979>
This commit is contained in:
Job Noorman 2026-04-03 08:18:08 +02:00 committed by Eric Engestrom
parent 97213d180e
commit 7745b46956
2 changed files with 3 additions and 1 deletions

View file

@ -4734,7 +4734,7 @@
"description": "nir/gather_info: clear interpolation qualifiers before gathering",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "66740d9c91b2e498423bca9f069225389124a23c",
"notes": null

View file

@ -1067,6 +1067,8 @@ nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint)
shader->info.patch_outputs_written_indirectly = 0;
shader->info.per_primitive_inputs = 0;
shader->info.per_primitive_outputs = 0;
shader->info.linear_varyings = 0;
shader->info.perspective_varyings = 0;
shader->info.uses_resource_info_query = false;