mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/spirv: Do not warn if no global flags are unhandled.
This commit is contained in:
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
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user