nir: document order requirement for nir_lower_viewport_transform

This requirement is currently satisfied by the usage in panfrost and
lima.

Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32084>
This commit is contained in:
Benjamin Lee 2024-11-12 16:45:55 -08:00 committed by Marge Bot
parent 11b6e47618
commit 7eda433095

View file

@ -34,7 +34,8 @@
* "Coordinate Transformation" of the OpenGL ES 3.2 full specification.
*
* This pass must run before lower_vars/lower_io such that derefs are
* still in place.
* still in place. This pass must run after lower_io_to_temporaries so
* that the transformed position is not visible to user code.
*/
#include "nir/nir.h"