mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[d3d11] Implement ID3D11DeviceContext4
This commit is contained in:
parent
0599a82dee
commit
f9d9307a28
@ -56,7 +56,8 @@ namespace dxvk {
|
||||
|| riid == __uuidof(ID3D11DeviceContext)
|
||||
|| riid == __uuidof(ID3D11DeviceContext1)
|
||||
|| riid == __uuidof(ID3D11DeviceContext2)
|
||||
|| riid == __uuidof(ID3D11DeviceContext3)) {
|
||||
|| riid == __uuidof(ID3D11DeviceContext3)
|
||||
|| riid == __uuidof(ID3D11DeviceContext4)) {
|
||||
*ppvObject = ref(this);
|
||||
return S_OK;
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ namespace dxvk {
|
||||
|
||||
class D3D11Device;
|
||||
|
||||
class D3D11DeviceContext : public D3D11DeviceChild<ID3D11DeviceContext3> {
|
||||
class D3D11DeviceContext : public D3D11DeviceChild<ID3D11DeviceContext4> {
|
||||
friend class D3D11DeviceContextExt;
|
||||
public:
|
||||
|
||||
|
@ -46,6 +46,22 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE D3D11DeferredContext::Signal(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value) {
|
||||
Logger::err("D3D11: Signal called on a deferred context");
|
||||
return DXGI_ERROR_INVALID_CALL;
|
||||
}
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE D3D11DeferredContext::Wait(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value) {
|
||||
Logger::err("D3D11: Wait called on a deferred context");
|
||||
return DXGI_ERROR_INVALID_CALL;
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11DeferredContext::ExecuteCommandList(
|
||||
ID3D11CommandList* pCommandList,
|
||||
BOOL RestoreContextState) {
|
||||
|
@ -46,6 +46,14 @@ namespace dxvk {
|
||||
D3D11_CONTEXT_TYPE ContextType,
|
||||
HANDLE hEvent);
|
||||
|
||||
HRESULT STDMETHODCALLTYPE Signal(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value);
|
||||
|
||||
HRESULT STDMETHODCALLTYPE Wait(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value);
|
||||
|
||||
void STDMETHODCALLTYPE ExecuteCommandList(
|
||||
ID3D11CommandList* pCommandList,
|
||||
BOOL RestoreContextState);
|
||||
|
@ -140,6 +140,22 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE D3D11ImmediateContext::Signal(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value) {
|
||||
Logger::err("D3D11ImmediateContext::Signal: Not implemented");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE D3D11ImmediateContext::Wait(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value) {
|
||||
Logger::err("D3D11ImmediateContext::Wait: Not implemented");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11ImmediateContext::ExecuteCommandList(
|
||||
ID3D11CommandList* pCommandList,
|
||||
BOOL RestoreContextState) {
|
||||
|
@ -40,6 +40,14 @@ namespace dxvk {
|
||||
D3D11_CONTEXT_TYPE ContextType,
|
||||
HANDLE hEvent);
|
||||
|
||||
HRESULT STDMETHODCALLTYPE Signal(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value);
|
||||
|
||||
HRESULT STDMETHODCALLTYPE Wait(
|
||||
ID3D11Fence* pFence,
|
||||
UINT64 Value);
|
||||
|
||||
void STDMETHODCALLTYPE ExecuteCommandList(
|
||||
ID3D11CommandList* pCommandList,
|
||||
BOOL RestoreContextState);
|
||||
|
Loading…
x
Reference in New Issue
Block a user