ValveSoftware / wine

Wine with a bit of extra spice
Other
1.3k stars 243 forks source link

Winevulkan Error #137

Closed liberodark closed 2 years ago

liberodark commented 2 years ago

Hi,

Have see a new issue on wine-proton 7.0. I have VK 1.3.204 but i can compile correctly this build actually.

dlls/winevulkan/vulkan.c: In function ‘__wine_create_vk_instance_with_callback’:
dlls/winevulkan/vulkan.c:947:45: error: ‘const struct vulkan_funcs’ has no member named ‘create_vk_instance_with_callback’
  947 |     if (native_vkCreateInstance && !vk_funcs->create_vk_instance_with_callback)
      |                                             ^~
dlls/winevulkan/vulkan.c:950:44: error: ‘const struct vulkan_funcs’ has no member named ‘create_vk_instance_with_callback’
  950 |     if (native_vkCreateInstance && vk_funcs->create_vk_instance_with_callback)
      |                                            ^~
dlls/winevulkan/vulkan.c:951:23: error: ‘const struct vulkan_funcs’ has no member named ‘create_vk_instance_with_callback’
  951 |         res = vk_funcs->create_vk_instance_with_callback(&create_info_host, NULL /* allocator */, &object->instance,
      |                       ^~
dlls/winevulkan/vulkan.c: In function ‘wine_vkCreateSwapchainKHR’:
dlls/winevulkan/vulkan.c:2331:16: error: ‘const struct vulkan_funcs’ has no member named ‘query_fs_hack’
 2331 |     if(vk_funcs->query_fs_hack &&
      |                ^~
dlls/winevulkan/vulkan.c:2332:21: error: ‘const struct vulkan_funcs’ has no member named ‘query_fs_hack’
 2332 |             vk_funcs->query_fs_hack(native_info.surface, &object->real_extent, &user_sz, &object->blit_dst, &object->fs_hack_filter) &&
      |                     ^~
dlls/winevulkan/vulkan.c: In function ‘wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR’:
dlls/winevulkan/vulkan.c:2494:38: error: ‘const struct vulkan_funcs’ has no member named ‘query_fs_hack’
 2494 |     if (res == VK_SUCCESS && vk_funcs->query_fs_hack &&
      |                                      ^~
dlls/winevulkan/vulkan.c:2495:21: error: ‘const struct vulkan_funcs’ has no member named ‘query_fs_hack’
 2495 |             vk_funcs->query_fs_hack(wine_surface_from_handle(surface)->driver_surface, NULL, &user_res, NULL, NULL)){
      |                     ^~
dlls/winevulkan/vulkan.c: In function ‘wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR’:
dlls/winevulkan/vulkan.c:2520:38: error: ‘const struct vulkan_funcs’ has no member named ‘query_fs_hack’
 2520 |     if (res == VK_SUCCESS && vk_funcs->query_fs_hack &&
      |                                      ^~
dlls/winevulkan/vulkan.c:2521:21: error: ‘const struct vulkan_funcs’ has no member named ‘query_fs_hack’
 2521 |             vk_funcs->query_fs_hack(wine_surface_from_handle(surface_info->surface)->driver_surface, NULL, &user_res, NULL, NULL)){
      |                     ^~

You have any idea ? PS : have check VK but is not really need to bump in 1.3.205 but have try and is the same issue.

Best Regards

ivyl commented 2 years ago

run make_vulkan script, it's part of the build process: https://github.com/ValveSoftware/Proton/blob/proton_7.0/Makefile.in#L706

liberodark commented 2 years ago

Thanks @ivyl issue fixed sorry for the ask