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:
parent
45a1587b88
commit
d314bee86d
@ -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
|
||||
|
@ -33,7 +33,7 @@ namespace dxvk {
|
||||
D3D11_BLEND_DESC1* pDesc) final;
|
||||
|
||||
void BindToContext(
|
||||
const Rc<DxvkContext>& ctx,
|
||||
DxvkContext* ctx,
|
||||
UINT sampleMask) const;
|
||||
|
||||
D3D10BlendState* GetD3D10Iface() {
|
||||
|
@ -52,7 +52,7 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
void D3D11DepthStencilState::BindToContext(const Rc<DxvkContext>& ctx) {
|
||||
void D3D11DepthStencilState::BindToContext(DxvkContext* ctx) {
|
||||
ctx->setDepthStencilState(m_state);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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(),
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -38,8 +38,7 @@ namespace dxvk {
|
||||
return &m_desc;
|
||||
}
|
||||
|
||||
void BindToContext(
|
||||
const Rc<DxvkContext>& ctx);
|
||||
void BindToContext(DxvkContext* ctx);
|
||||
|
||||
D3D10RasterizerState* GetD3D10Iface() {
|
||||
return &m_d3d10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user