mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
[vulkan] Provide access to VkPhysicalDeviceLimits
Fixes the warning about parse_fixed_array not being used (oops, the problem with partial commits), but more importantly, gives access to things like maxDescriptorSetSamplers.
This commit is contained in:
parent
cff23ac93c
commit
f6cc138f48
2 changed files with 3 additions and 0 deletions
|
@ -1074,6 +1074,8 @@ parse_object (vulkan_ctx_t *ctx, memsuper_t *memsuper, plitem_t *plist,
|
||||||
{"frames", &vulkan_frameset_t_type, &ctx->frames},
|
{"frames", &vulkan_frameset_t_type, &ctx->frames},
|
||||||
{"msaaSamples", &VkSampleCountFlagBits_type, &ctx->msaaSamples},
|
{"msaaSamples", &VkSampleCountFlagBits_type, &ctx->msaaSamples},
|
||||||
{"swapImageIndex", &cexpr_uint, &ctx->swapImageIndex},
|
{"swapImageIndex", &cexpr_uint, &ctx->swapImageIndex},
|
||||||
|
{"physDevLimits", &VkPhysicalDeviceLimits_type,
|
||||||
|
&ctx->device->physDev->properties.limits },
|
||||||
{QFV_PROPERTIES, &cexpr_plitem, &parsectx.properties},
|
{QFV_PROPERTIES, &cexpr_plitem, &parsectx.properties},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
VkImageViewCreateInfo,
|
VkImageViewCreateInfo,
|
||||||
VkFramebufferCreateInfo,
|
VkFramebufferCreateInfo,
|
||||||
VkClearValue,
|
VkClearValue,
|
||||||
|
VkPhysicalDeviceLimits,
|
||||||
);
|
);
|
||||||
parse = {
|
parse = {
|
||||||
VkSubpassDescription = {
|
VkSubpassDescription = {
|
||||||
|
|
Loading…
Reference in a new issue