Skip to content
Snippets Groups Projects
Commit 710ecbad authored by Caio Oliveira's avatar Caio Oliveira Committed by Dylan Baker
Browse files

anv: Lower ViewIndex to zero when multiview is disabled

Vulkan spec says

    If multiview is enabled in the render pass, this value will be one
    of the bits set in the view mask of the subpass the pipeline is
    compiled against. If multiview is not enabled in the render pass,
    this value will be zero.

Closes: #4446


Fixes: 0db70703 ("anv/pipeline: Add shader lowering for multiview")
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Part-of: <!9574>
(cherry picked from commit f603a2c2)
parent afafb94b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment