mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 04:24:11 +01:00
[d3d10] Implement GenerateMips
This commit is contained in:
parent
c41f380f3e
commit
e0a27fd05e
@ -633,7 +633,10 @@ namespace dxvk {
|
||||
|
||||
void STDMETHODCALLTYPE D3D10Device::GenerateMips(
|
||||
ID3D10ShaderResourceView* pShaderResourceView) {
|
||||
Logger::err("D3D10Device::GenerateMips: Not implemented");
|
||||
D3D10ShaderResourceView* d3d10View = static_cast<D3D10ShaderResourceView*>(pShaderResourceView);
|
||||
D3D11ShaderResourceView* d3d11View = d3d10View ? d3d10View->GetD3D11Iface() : nullptr;
|
||||
|
||||
m_context->GenerateMips(d3d11View);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user