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:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <!9574> (cherry picked from commit f603a2c2)
Loading
Please register or sign in to comment