Mesa (main): microsoft/spirv_to_dxil: Extract NIR passes out of spirv_to_dxil()
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 8 15:57:27 UTC 2022
Module: Mesa
Branch: main
Commit: c86ea7daa36b027ce331f2f4592565e4ff688a65
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c86ea7daa36b027ce331f2f4592565e4ff688a65
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Thu Apr 28 01:10:54 2022 -0700
microsoft/spirv_to_dxil: Extract NIR passes out of spirv_to_dxil()
Extract NIR passes out of spirv_to_dxil() so we can re-use them
without separately and do the varying linking in Dozen. This way
we will also be able to use vk_shader_module_to_nir() which
takes care of the SPIRV -> NIR translation, plus a bunch of
common lowering passes.
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16221>
---
src/microsoft/ci/spirv2dxil_reference.txt | 5 +-
src/microsoft/spirv_to_dxil/dxil_spirv_nir.c | 698 +++++++++++++++++++++++++++
src/microsoft/spirv_to_dxil/dxil_spirv_nir.h | 36 ++
src/microsoft/spirv_to_dxil/meson.build | 1 +
src/microsoft/spirv_to_dxil/spirv_to_dxil.c | 696 ++------------------------
5 files changed, 779 insertions(+), 657 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=c86ea7daa36b027ce331f2f4592565e4ff688a65
More information about the mesa-commit
mailing list