1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-14 00:48:44 +01:00
dxvk/src/d3d10/d3d10_input_layout.cpp
2018-08-13 17:22:41 +02:00

53 lines
1.4 KiB
C++

#include "d3d10_input_layout.h"
#include "../d3d11/d3d11_device.h"
#include "../d3d11/d3d11_input_layout.h"
namespace dxvk {
HRESULT STDMETHODCALLTYPE D3D10InputLayout::QueryInterface(
REFIID riid,
void** ppvObject) {
return m_d3d11->QueryInterface(riid, ppvObject);
}
ULONG STDMETHODCALLTYPE D3D10InputLayout::AddRef() {
return m_d3d11->AddRef();
}
ULONG STDMETHODCALLTYPE D3D10InputLayout::Release() {
return m_d3d11->Release();
}
void STDMETHODCALLTYPE D3D10InputLayout::GetDevice(
ID3D10Device** ppDevice) {
GetD3D10Device(m_d3d11, ppDevice);
}
HRESULT STDMETHODCALLTYPE D3D10InputLayout::GetPrivateData(
REFGUID guid,
UINT* pDataSize,
void* pData) {
return m_d3d11->GetPrivateData(guid, pDataSize, pData);
}
HRESULT STDMETHODCALLTYPE D3D10InputLayout::SetPrivateData(
REFGUID guid,
UINT DataSize,
const void* pData) {
return m_d3d11->SetPrivateData(guid, DataSize, pData);
}
HRESULT STDMETHODCALLTYPE D3D10InputLayout::SetPrivateDataInterface(
REFGUID guid,
const IUnknown* pData) {
return m_d3d11->SetPrivateDataInterface(guid, pData);
}
}