1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[d3d11] Fix bad signature of various BindToContext methods

This commit is contained in:
Philip Rebohle 2022-08-07 14:47:07 +02:00
parent 45a1587b88
commit d314bee86d
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
8 changed files with 8 additions and 11 deletions

View File

@ -87,7 +87,7 @@ namespace dxvk {
void D3D11BlendState::BindToContext(
const Rc<DxvkContext>& ctx,
DxvkContext* ctx,
uint32_t sampleMask) const {
// We handled Independent Blend during object creation
// already, so if it is disabled, all elements in the

View File

@ -33,7 +33,7 @@ namespace dxvk {
D3D11_BLEND_DESC1* pDesc) final;
void BindToContext(
const Rc<DxvkContext>& ctx,
DxvkContext* ctx,
UINT sampleMask) const;
D3D10BlendState* GetD3D10Iface() {

View File

@ -52,7 +52,7 @@ namespace dxvk {
}
void D3D11DepthStencilState::BindToContext(const Rc<DxvkContext>& ctx) {
void D3D11DepthStencilState::BindToContext(DxvkContext* ctx) {
ctx->setDepthStencilState(m_state);
}

View File

@ -29,8 +29,7 @@ namespace dxvk {
void STDMETHODCALLTYPE GetDesc(
D3D11_DEPTH_STENCIL_DESC* pDesc) final;
void BindToContext(
const Rc<DxvkContext>& ctx);
void BindToContext(DxvkContext* ctx);
D3D10DepthStencilState* GetD3D10Iface() {
return &m_d3d10;

View File

@ -52,7 +52,7 @@ namespace dxvk {
}
void D3D11InputLayout::BindToContext(const Rc<DxvkContext>& ctx) {
void D3D11InputLayout::BindToContext(DxvkContext* ctx) {
ctx->setInputLayout(
m_attributes.size(),
m_attributes.data(),

View File

@ -25,8 +25,7 @@ namespace dxvk {
REFIID riid,
void** ppvObject) final;
void BindToContext(
const Rc<DxvkContext>& ctx);
void BindToContext(DxvkContext* ctx);
bool Compare(
const D3D11InputLayout* pOther) const;

View File

@ -113,7 +113,7 @@ namespace dxvk {
}
void D3D11RasterizerState::BindToContext(const Rc<DxvkContext>& ctx) {
void D3D11RasterizerState::BindToContext(DxvkContext* ctx) {
ctx->setRasterizerState(m_state);
if (m_state.depthBiasEnable)

View File

@ -38,8 +38,7 @@ namespace dxvk {
return &m_desc;
}
void BindToContext(
const Rc<DxvkContext>& ctx);
void BindToContext(DxvkContext* ctx);
D3D10RasterizerState* GetD3D10Iface() {
return &m_d3d10;