Module: Mesa
Branch: main
Commit: e39afa1ae86c5bd0d1e1f13305bad8f9a54d1731
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e39afa1ae86c5bd0d1e1f13305bad8f9a54d1731

Author: Yonggang Luo <[email protected]>
Date:   Mon Nov  7 13:46:48 2022 +0800

microsoft: Fixes error: unknown type name ‘boolean’ in nir_to_dxil.c

error message:
../../src/microsoft/compiler/nir_to_dxil.c:1711:8: error: unknown type name 
‘boolean’
 1711 | static boolean

Signed-off-by: Yonggang Luo <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Reviewed-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19649>

---

 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)
 {

Reply via email to