mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
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:
parent
e3adf10b73
commit
425458c598
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue