From e39afa1ae86c5bd0d1e1f13305bad8f9a54d1731 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Mon, 7 Nov 2022 13:46:48 +0800 Subject: [PATCH] =?UTF-8?q?microsoft:=20Fixes=20error:=20unknown=20type=20?= =?UTF-8?q?name=20=E2=80=98boolean=E2=80=99=20in=20nir=5Fto=5Fdxil.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error message: ../../src/microsoft/compiler/nir_to_dxil.c:1711:8: error: unknown type name ‘boolean’ 1711 | static boolean Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Reviewed-by: David Heidelberg Part-of: --- src/microsoft/compiler/nir_to_dxil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft/compiler/nir_to_dxil.c b/src/microsoft/compiler/nir_to_dxil.c index 64e6f9b35fa..8f46a526fa6 100644 --- a/src/microsoft/compiler/nir_to_dxil.c +++ b/src/microsoft/compiler/nir_to_dxil.c @@ -1708,7 +1708,7 @@ emit_resources(struct ntd_context *ctx) dxil_get_metadata_node(&ctx->mod, resources_nodes, ARRAY_SIZE(resources_nodes)): NULL; } -static boolean +static bool emit_tag(struct ntd_context *ctx, enum dxil_shader_tag tag, const struct dxil_mdnode *value_node) {