mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d11] Use STDMETHODCALLTYPE for private virtual method
Improves code generation on some compilers.
This commit is contained in:
parent
32e1afc7a1
commit
e5fa55cbb5
@ -393,7 +393,7 @@ namespace dxvk {
|
|||||||
UINT NumBuffers,
|
UINT NumBuffers,
|
||||||
ID3D11Buffer* const* ppConstantBuffers);
|
ID3D11Buffer* const* ppConstantBuffers);
|
||||||
|
|
||||||
virtual void STDMETHODCALLTYPE GSSetConstantBuffers1(
|
void STDMETHODCALLTYPE GSSetConstantBuffers1(
|
||||||
UINT StartSlot,
|
UINT StartSlot,
|
||||||
UINT NumBuffers,
|
UINT NumBuffers,
|
||||||
ID3D11Buffer* const* ppConstantBuffers,
|
ID3D11Buffer* const* ppConstantBuffers,
|
||||||
@ -858,7 +858,7 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void EmitCsChunk(DxvkCsChunkRef&& chunk) = 0;
|
virtual void STDMETHODCALLTYPE EmitCsChunk(DxvkCsChunkRef&& chunk) = 0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void D3D11DeferredContext::EmitCsChunk(DxvkCsChunkRef&& chunk) {
|
void STDMETHODCALLTYPE D3D11DeferredContext::EmitCsChunk(DxvkCsChunkRef&& chunk) {
|
||||||
m_commandList->AddChunk(std::move(chunk));
|
m_commandList->AddChunk(std::move(chunk));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ namespace dxvk {
|
|||||||
|
|
||||||
Com<D3D11CommandList> CreateCommandList();
|
Com<D3D11CommandList> CreateCommandList();
|
||||||
|
|
||||||
void EmitCsChunk(DxvkCsChunkRef&& chunk);
|
void STDMETHODCALLTYPE EmitCsChunk(DxvkCsChunkRef&& chunk);
|
||||||
|
|
||||||
static DxvkCsChunkFlags GetCsChunkFlags(
|
static DxvkCsChunkFlags GetCsChunkFlags(
|
||||||
D3D11Device* pDevice);
|
D3D11Device* pDevice);
|
||||||
|
@ -543,12 +543,6 @@ namespace dxvk {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void D3D11ImmediateContext::EmitCsChunk(DxvkCsChunkRef&& chunk) {
|
|
||||||
m_csThread.dispatchChunk(std::move(chunk));
|
|
||||||
m_csIsBusy = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void D3D11ImmediateContext::FlushImplicit(BOOL StrongHint) {
|
void D3D11ImmediateContext::FlushImplicit(BOOL StrongHint) {
|
||||||
@ -568,4 +562,10 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void STDMETHODCALLTYPE D3D11ImmediateContext::EmitCsChunk(DxvkCsChunkRef&& chunk) {
|
||||||
|
m_csThread.dispatchChunk(std::move(chunk));
|
||||||
|
m_csIsBusy = true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -125,10 +125,10 @@ namespace dxvk {
|
|||||||
const Rc<DxvkResource>& Resource,
|
const Rc<DxvkResource>& Resource,
|
||||||
UINT MapFlags);
|
UINT MapFlags);
|
||||||
|
|
||||||
void EmitCsChunk(DxvkCsChunkRef&& chunk);
|
|
||||||
|
|
||||||
void FlushImplicit(BOOL StrongHint);
|
void FlushImplicit(BOOL StrongHint);
|
||||||
|
|
||||||
|
void STDMETHODCALLTYPE EmitCsChunk(DxvkCsChunkRef&& chunk);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user