mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40651>
This commit is contained in:
parent
2403e88a76
commit
a72704d0fb
1 changed files with 2 additions and 0 deletions
|
|
@ -1093,6 +1093,8 @@ nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint)
|
||||||
shader->info.per_primitive_inputs = 0;
|
shader->info.per_primitive_inputs = 0;
|
||||||
shader->info.per_primitive_outputs = 0;
|
shader->info.per_primitive_outputs = 0;
|
||||||
shader->info.per_view_outputs = 0;
|
shader->info.per_view_outputs = 0;
|
||||||
|
shader->info.linear_varyings = 0;
|
||||||
|
shader->info.perspective_varyings = 0;
|
||||||
|
|
||||||
shader->info.uses_resource_info_query = false;
|
shader->info.uses_resource_info_query = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue