commit | ffe946d7e82ca95a59851ea65fc725f0f1ebf85d | [log] [tgz] |
---|---|---|
author | Connor Abbott <cwabbott0@gmail.com> | Mon Jul 06 15:25:03 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Sep 29 10:31:59 2020 +0000 |
tree | 52e9c989128fa2624a253b72aba3424f5d2bc985 | |
parent | b4c07a8a87d06f2c347f204cac9fe708428e272d [diff] |
nir: Add nir_lower_multiview pass Taken mostly directly from the anv pass. A few anv-specific things that I could leave in anv aren't included. Specifically on turnip we don't need to set gl_Layer to 0, and we can handle the case where the FS reads gl_ViewIndex, so that check is moved into anv. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6514>