mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +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> (cherry picked from commit425458c598) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40488>
This commit is contained in:
parent
c0a931e338
commit
4b9aa545ea
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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