pan/compiler: Handle store_per_view_output in collect_varyings()

No idea how this wasn't blowing anything up before.

Fixes: 448b5e0225 ("panvk: implement multiview support")
Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
Acked-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38681>
This commit is contained in:
Faith Ekstrand 2025-12-03 15:49:42 -05:00 committed by Marge Bot
parent e3adf10b73
commit 425458c598

View file

@ -73,6 +73,7 @@ walk_varyings(UNUSED nir_builder *b, nir_instr *instr, void *data)
/* Only consider intrinsics that access varyings */
switch (intr->intrinsic) {
case nir_intrinsic_store_output:
case nir_intrinsic_store_per_view_output:
if (b->shader->info.stage != MESA_SHADER_VERTEX)
return false;