mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 00:00:47 +02:00
nir: document index semantics in nir_lower_multiview
Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31704>
This commit is contained in:
parent
975c3ecd1e
commit
6d843cde45
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@
|
|||
* the mess. On some hardware it is also possible to write different copies of
|
||||
* other varyings, expanding the set of shaders that the optimization is
|
||||
* usable for.
|
||||
*
|
||||
* Indexes in the per-view output arrays generated by this pass do not
|
||||
* correspond directly to gl_ViewIndex. Instead, they are compacted, dropping
|
||||
* disabled views. For example, with view mask 0b1010, gl_Position[0]
|
||||
* is view index 1, and gl_Position[1] is view index 3.
|
||||
*/
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue