winevulkan: Pull in bitmask dependencies for function parameters.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b9919c2e7f
commit
3b1bf387eb
|
@ -2608,6 +2608,8 @@ class VkRegistry(object):
|
||||||
if type_info["category"] == "struct":
|
if type_info["category"] == "struct":
|
||||||
struct = type_info["data"]
|
struct = type_info["data"]
|
||||||
mark_struct_dependencies(struct, self.types)
|
mark_struct_dependencies(struct, self.types)
|
||||||
|
elif type_info["category"] == "bitmask":
|
||||||
|
mark_bitmask_dependencies(type_info["data"], self.types)
|
||||||
|
|
||||||
if func.is_alias():
|
if func.is_alias():
|
||||||
func.alias.required = True
|
func.alias.required = True
|
||||||
|
|
|
@ -754,6 +754,12 @@ typedef enum VkCommandBufferLevel
|
||||||
VK_COMMAND_BUFFER_LEVEL_MAX_ENUM = 0x7fffffff,
|
VK_COMMAND_BUFFER_LEVEL_MAX_ENUM = 0x7fffffff,
|
||||||
} VkCommandBufferLevel;
|
} VkCommandBufferLevel;
|
||||||
|
|
||||||
|
typedef enum VkCommandBufferResetFlagBits
|
||||||
|
{
|
||||||
|
VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT = 0x00000001,
|
||||||
|
VK_COMMAND_BUFFER_RESET_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
||||||
|
} VkCommandBufferResetFlagBits;
|
||||||
|
|
||||||
typedef enum VkCommandBufferUsageFlagBits
|
typedef enum VkCommandBufferUsageFlagBits
|
||||||
{
|
{
|
||||||
VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = 0x00000001,
|
VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = 0x00000001,
|
||||||
|
@ -770,6 +776,12 @@ typedef enum VkCommandPoolCreateFlagBits
|
||||||
VK_COMMAND_POOL_CREATE_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
VK_COMMAND_POOL_CREATE_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
||||||
} VkCommandPoolCreateFlagBits;
|
} VkCommandPoolCreateFlagBits;
|
||||||
|
|
||||||
|
typedef enum VkCommandPoolResetFlagBits
|
||||||
|
{
|
||||||
|
VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT = 0x00000001,
|
||||||
|
VK_COMMAND_POOL_RESET_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
||||||
|
} VkCommandPoolResetFlagBits;
|
||||||
|
|
||||||
typedef enum VkCompareOp
|
typedef enum VkCompareOp
|
||||||
{
|
{
|
||||||
VK_COMPARE_OP_NEVER = 0,
|
VK_COMPARE_OP_NEVER = 0,
|
||||||
|
@ -1670,6 +1682,15 @@ typedef enum VkQueryPipelineStatisticFlagBits
|
||||||
VK_QUERY_PIPELINE_STATISTIC_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
VK_QUERY_PIPELINE_STATISTIC_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
||||||
} VkQueryPipelineStatisticFlagBits;
|
} VkQueryPipelineStatisticFlagBits;
|
||||||
|
|
||||||
|
typedef enum VkQueryResultFlagBits
|
||||||
|
{
|
||||||
|
VK_QUERY_RESULT_64_BIT = 0x00000001,
|
||||||
|
VK_QUERY_RESULT_WAIT_BIT = 0x00000002,
|
||||||
|
VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 0x00000004,
|
||||||
|
VK_QUERY_RESULT_PARTIAL_BIT = 0x00000008,
|
||||||
|
VK_QUERY_RESULT_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
||||||
|
} VkQueryResultFlagBits;
|
||||||
|
|
||||||
typedef enum VkQueryType
|
typedef enum VkQueryType
|
||||||
{
|
{
|
||||||
VK_QUERY_TYPE_OCCLUSION = 0,
|
VK_QUERY_TYPE_OCCLUSION = 0,
|
||||||
|
@ -1900,6 +1921,14 @@ typedef enum VkSparseMemoryBindFlagBits
|
||||||
VK_SPARSE_MEMORY_BIND_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
VK_SPARSE_MEMORY_BIND_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
||||||
} VkSparseMemoryBindFlagBits;
|
} VkSparseMemoryBindFlagBits;
|
||||||
|
|
||||||
|
typedef enum VkStencilFaceFlagBits
|
||||||
|
{
|
||||||
|
VK_STENCIL_FACE_FRONT_BIT = 0x00000001,
|
||||||
|
VK_STENCIL_FACE_BACK_BIT = 0x00000002,
|
||||||
|
VK_STENCIL_FRONT_AND_BACK = 0x00000003,
|
||||||
|
VK_STENCIL_FACE_FLAG_BITS_MAX_ENUM = 0x7fffffff,
|
||||||
|
} VkStencilFaceFlagBits;
|
||||||
|
|
||||||
typedef enum VkStencilOp
|
typedef enum VkStencilOp
|
||||||
{
|
{
|
||||||
VK_STENCIL_OP_KEEP = 0,
|
VK_STENCIL_OP_KEEP = 0,
|
||||||
|
|
Loading…
Reference in New Issue