d3d12: Move d3d12_nir_lower_vs_vertex_conversion() to a common place
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>
Tue, 14 Jun 2022 10:09:51 +0000 (03:09 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Jun 2022 17:42:51 +0000 (17:42 +0000)
commitb0b9b500778128d8a3df76d76b2f849ae6725379
tree9341826f90319d0b1ae7d4e9bb4f61242be007cd
parentc378bbab7579a7a900372ca01df5b7aeac85d7c2
d3d12: Move d3d12_nir_lower_vs_vertex_conversion() to a common place

So we can re-use it in dozen.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15955>
src/gallium/drivers/d3d12/d3d12_compiler.cpp
src/gallium/drivers/d3d12/d3d12_nir_passes.h
src/gallium/drivers/d3d12/meson.build
src/microsoft/compiler/dxil_nir.h
src/microsoft/compiler/dxil_nir_lower_vs_vertex_conversion.c [moved from src/gallium/drivers/d3d12/d3d12_nir_lower_vs_vertex_conversion.c with 97% similarity]
src/microsoft/compiler/meson.build