mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Export a function to create a d3d12 resource from a Vulkan image.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "vkd3d_windows.h"
|
||||
#include "d3d12.h"
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -41,6 +42,8 @@ struct vkd3d_device_create_info
|
||||
|
||||
HRESULT vkd3d_create_device(const struct vkd3d_device_create_info *create_info,
|
||||
REFIID riid, void **device);
|
||||
HRESULT vkd3d_create_image_resource(ID3D12Device *device, const D3D12_RESOURCE_DESC *desc,
|
||||
VkImage vk_image, ID3D12Resource **resource);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user