microsoft/spirv_to_dxil: Let spirv_to_dxil() handle the linking

That's still a dummy linking we do here, and it's likely to be
incorrect for complex scenarios. Not sure the previous situation
was any better though, and at least, doing that allows us to
get rid of the special cases we have in dxil_signature.c.

Reviewed-by: Enrico Galli <enrico.galli@intel.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16221>
This commit is contained in:
Boris Brezillon 2022-04-29 08:15:17 -07:00 committed by Marge Bot
parent 77c81357f4
commit 74c94faf32

View file

@ -136,7 +136,6 @@ spirv_to_dxil(const uint32_t *words, size_t word_count,
struct nir_to_dxil_options opts = {
.environment = DXIL_ENVIRONMENT_VULKAN,
.auto_link = true,
};
struct blob dxil_blob;
if (!nir_to_dxil(nir, &opts, &dxil_blob)) {