From e340855122b2eb0af03d6712b9d6a331b4a05c3d Mon Sep 17 00:00:00 2001 From: Conor McCarthy Date: Thu, 30 Nov 2023 17:02:15 +1000 Subject: [PATCH] vkd3d-shader/spirv: Do not warn if no global flags are unhandled. --- libs/vkd3d-shader/spirv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/spirv.c b/libs/vkd3d-shader/spirv.c index a78af601..af2be2e0 100644 --- a/libs/vkd3d-shader/spirv.c +++ b/libs/vkd3d-shader/spirv.c @@ -5842,7 +5842,7 @@ static void spirv_compiler_emit_dcl_global_flags(struct spirv_compiler *compiler if (flags & ~(VKD3DSGF_REFACTORING_ALLOWED | VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS)) FIXME("Unhandled global flags %#"PRIx64".\n", (uint64_t)flags); - else + else if (flags) WARN("Unhandled global flags %#"PRIx64".\n", (uint64_t)flags); }