• Alexandros Frantzis's avatar
    winevulkan: Generate "in_ext" definition on demand. · ad7945eb
    Alexandros Frantzis authored
    There are cases in StructConversionFunction.definition where we will
    generate copy code for extension struct members, without emitting the
    definition of "in_ext" variable used in the copy code.
    
    This issue is triggered by mismatches in the condition that guards the
    generation of the "in_ext" definitions, and the condition(s) that govern
    the generation of the member copy code (e.g., in
    StructConversionFunction.member_needs_copy and
    VkMember.needs_conversion).
    
    In order to avoid such mismatches and the burden of having to keep the
    conditions in sync, this commit generates the definition on demand, by
    checking if it's actually needed by the member copy code.
    Signed-off-by: 's avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
    ad7945eb
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...