dzn: fill in depth/stencil resolve props

Before enabling Vulkan 1.2 support, we need to fix the TODO in here.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16998>
This commit is contained in:
Erik Faye-Lund 2022-06-13 14:33:35 +02:00
parent 141e715f29
commit 18c590e0b3
1 changed files with 9 additions and 0 deletions

View File

@ -1617,6 +1617,15 @@ dzn_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
.maxDescriptorSetUpdateAfterBindSampledImages = 0,
.maxDescriptorSetUpdateAfterBindStorageImages = 0,
.maxDescriptorSetUpdateAfterBindInputAttachments = 0,
/* FIXME: add support for VK_RESOLVE_MODE_SAMPLE_ZERO_BIT,
* which is required by the VK 1.2 spec.
*/
.supportedDepthResolveModes = VK_RESOLVE_MODE_AVERAGE_BIT,
.supportedStencilResolveModes = VK_RESOLVE_MODE_SAMPLE_ZERO_BIT,
.independentResolveNone = false,
.independentResolve = false,
};
snprintf(core_1_2.driverName, VK_MAX_DRIVER_NAME_SIZE, "Dozen");