glsl: port assign location code for VS inputs or FS outputs
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 6 Apr 2023 04:17:12 +0000 (14:17 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Jul 2023 01:21:06 +0000 (01:21 +0000)
commitf3c6718f73c458aaae553f7d826956cb1fe8802a
tree8db3d8c8157d11fea2133f6f14a23d718f3958a6
parent6786a39940eb93c656af184fb3990f8e96c01ed4
glsl: port assign location code for VS inputs or FS outputs

Here we port the code to the NIR linker.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22846>
src/compiler/glsl/gl_nir_link_varyings.c