Module: vkd3d Branch: master Commit: e340855122b2eb0af03d6712b9d6a331b4a05c3d URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/e340855122b2eb0af03d6712b9d6a3...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Thu Nov 30 17:02:15 2023 +1000
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); }