microsoft/compiler: Process signatures before the shader code
authorJesse Natalie <jenatali@microsoft.com>
Tue, 1 Feb 2022 22:36:32 +0000 (14:36 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Feb 2022 00:07:53 +0000 (00:07 +0000)
commitefe5c2d6f33ccfd85488a68a3b146253881f82fd
treec1037b427c9c6db13114d80fcd7e16eb99c744d5
parentc154d403d375690488f4526de27dd6a8344af827
microsoft/compiler: Process signatures before the shader code

This lets us set up some metadata based on I/O vars without having
to do multiple passes over them.

Reviewed-by: Bill Kristiansen <billkris@microsoft.com>
Reviewed-By: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837>
src/microsoft/compiler/nir_to_dxil.c