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

Author: Dave Airlie <[email protected]>
Date:   Thu Mar  4 15:34:35 2021 +1000

lavapipe: enable Vulkan 1.1 support

This is not fully conformant but the failures are the same as the Vulkan 1.0
failures.

Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9645>

---

 src/gallium/frontends/lavapipe/lvp_device.c | 2 +-
 src/gallium/targets/lavapipe/meson.build    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/frontends/lavapipe/lvp_device.c 
b/src/gallium/frontends/lavapipe/lvp_device.c
index 4fc52eda644..cbb750145d0 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -44,7 +44,7 @@
     defined(VK_USE_PLATFORM_DISPLAY_KHR)
 #define LVP_USE_WSI_PLATFORM
 #endif
-#define LVP_API_VERSION VK_MAKE_VERSION(1, 0, VK_HEADER_VERSION)
+#define LVP_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
 
 VKAPI_ATTR VkResult VKAPI_CALL lvp_EnumerateInstanceVersion(uint32_t* 
pApiVersion)
 {
diff --git a/src/gallium/targets/lavapipe/meson.build 
b/src/gallium/targets/lavapipe/meson.build
index 65680dc82dc..164811833d4 100644
--- a/src/gallium/targets/lavapipe/meson.build
+++ b/src/gallium/targets/lavapipe/meson.build
@@ -32,7 +32,7 @@ lvp_icd = custom_target(
   output : 'lvp_icd.@[email protected]'.format(host_machine.cpu()),
   command : [
     prog_python, '@INPUT0@',
-    '--api-version', '1.0', '--xml', '@INPUT1@',
+    '--api-version', '1.1', '--xml', '@INPUT1@',
     '--lib-path', join_paths(module_dir, icd_file_name),
     '--out', '@OUTPUT@',
   ],

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to