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>
(cherry picked from commit 425458c598)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40488>
This commit is contained in:
Faith Ekstrand 2025-12-03 15:49:42 -05:00 committed by Eric Engestrom
parent c0a931e338
commit 4b9aa545ea
2 changed files with 2 additions and 1 deletions

View file

@ -1514,7 +1514,7 @@
"description": "pan/compiler: Handle store_per_view_output in collect_varyings()",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "448b5e0225f92c19d6d2721589c5c87e65bdf003",
"notes": null

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;