commit | e30994a47131232140dd782e852f64e4314b4eaa | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa@collabora.com> | Sat Mar 06 18:51:29 2021 +0000 |
committer | Marge Bot <eric+marge@anholt.net> | Sun Mar 07 17:57:04 2021 +0000 |
tree | fff3b1e034241586b912f7dcf211240a00e61b72 | |
parent | 3436e5295b11fa987e06afee9eccccce83f0462e [diff] |
nir/lower_viewport_transform: Allow geom/tess This pass needs to run on the last shader in a pipeline writing gl_Position. In GLES2, that's always the vertex shader, but in ES3.2, it can be a geometry or tessellation shader. The shared code works the same in this case, just make the assert more generous. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Erico Nunes <nunes.erico@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9444>