Mesa (main): dzn: expose VK_KHR_driver_properties

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 18 16:21:22 UTC 2022


Module: Mesa
Branch: main
Commit: e630637eab0a3a7f99a57b8f613e61b479c2dbc5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e630637eab0a3a7f99a57b8f613e61b479c2dbc5

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Jun 13 13:48:22 2022 +0200

dzn: expose VK_KHR_driver_properties

We're not quite conformant with the extension, because we don't have
a valid conformance version.

That's not a quick-fix, so we should probably just accept some failures
for now.

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16998>

---

 src/microsoft/ci/warp-fails.txt   | 1 +
 src/microsoft/vulkan/dzn_device.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/microsoft/ci/warp-fails.txt b/src/microsoft/ci/warp-fails.txt
index 0e776658294..be4826e4125 100644
--- a/src/microsoft/ci/warp-fails.txt
+++ b/src/microsoft/ci/warp-fails.txt
@@ -874,6 +874,7 @@ dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.all_formats.depth_sten
 dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.all_formats.depth_stencil.2d.d32_sfloat_s8_uint_d32_sfloat_s8_uint_separate_layouts.general_optimal_nearest,Fail
 dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.all_formats.depth_stencil.2d.d32_sfloat_s8_uint_d32_sfloat_s8_uint_separate_layouts.optimal_general_nearest,Fail
 dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.all_formats.depth_stencil.2d.d32_sfloat_s8_uint_d32_sfloat_s8_uint_separate_layouts.optimal_optimal_nearest,Fail
+dEQP-VK.api.driver_properties.conformance_version,Fail
 dEQP-VK.draw.dynamic_rendering.basic_draw.draw_indexed_indirect.triangle_fan.45_multi_command,Fail
 dEQP-VK.draw.dynamic_rendering.basic_draw.draw_indirect.triangle_fan.45_multi_command,Fail
 dEQP-VK.draw.renderpass.basic_draw.draw_indexed_indirect.triangle_fan.17_multi_command,Fail
diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c
index 07abae0ee77..88d99ac0aa6 100644
--- a/src/microsoft/vulkan/dzn_device.c
+++ b/src/microsoft/vulkan/dzn_device.c
@@ -96,6 +96,7 @@ dzn_physical_device_get_extensions(struct dzn_physical_device *pdev)
       .KHR_depth_stencil_resolve             = true,
       .KHR_descriptor_update_template        = true,
       .KHR_draw_indirect_count               = true,
+      .KHR_driver_properties                 = true,
       .KHR_dynamic_rendering                 = true,
       .KHR_shader_draw_parameters            = true,
 #ifdef DZN_USE_WSI_PLATFORM



More information about the mesa-commit mailing list