vkd3d-shader/spirv: Do not warn if no global flags are unhandled.

This commit is contained in:
Conor McCarthy 2023-11-30 17:02:15 +10:00 committed by Alexandre Julliard
parent ea5624e5e8
commit e340855122
Notes: Alexandre Julliard 2024-05-13 22:58:15 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/857

View File

@ -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)) if (flags & ~(VKD3DSGF_REFACTORING_ALLOWED | VKD3DSGF_ENABLE_RAW_AND_STRUCTURED_BUFFERS))
FIXME("Unhandled global flags %#"PRIx64".\n", (uint64_t)flags); FIXME("Unhandled global flags %#"PRIx64".\n", (uint64_t)flags);
else else if (flags)
WARN("Unhandled global flags %#"PRIx64".\n", (uint64_t)flags); WARN("Unhandled global flags %#"PRIx64".\n", (uint64_t)flags);
} }