mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 01:24:11 +01:00
[d3d9] Add ID3D9VkInteropTexture to volumes
This commit is contained in:
parent
e499f2e081
commit
201e1628b0
@ -33,8 +33,8 @@ ID3D9VkInteropInterface : public IUnknown {
|
||||
/**
|
||||
* \brief D3D9 texture interface for Vulkan interop
|
||||
*
|
||||
* Provides access to the backing resource of a
|
||||
* D3D9 texture or surface.
|
||||
* Provides access to the backing image of a
|
||||
* D3D9 texture, surface, or volume.
|
||||
*/
|
||||
MIDL_INTERFACE("d56344f5-8d35-46fd-806d-94c351b472c1")
|
||||
ID3D9VkInteropTexture : public IUnknown {
|
||||
|
@ -65,6 +65,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
if (riid == __uuidof(ID3D9VkInteropTexture)) {
|
||||
*ppvObject = ref(m_texture->GetVkInterop());
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
if (logQueryInterfaceError(__uuidof(IDirect3DVolume9), riid)) {
|
||||
Logger::warn("D3D9Volume::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
|
Loading…
Reference in New Issue
Block a user