mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[d3d9] Rename GenerateMips to EmitGenerateMips
This commit is contained in:
parent
fabe7b5d59
commit
1a920f44ea
@ -4199,7 +4199,7 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void D3D9DeviceEx::GenerateMips(
|
void D3D9DeviceEx::EmitGenerateMips(
|
||||||
D3D9CommonTexture* pResource) {
|
D3D9CommonTexture* pResource) {
|
||||||
EmitCs([
|
EmitCs([
|
||||||
cImageView = pResource->GetSampleView(false)
|
cImageView = pResource->GetSampleView(false)
|
||||||
@ -4894,7 +4894,7 @@ namespace dxvk {
|
|||||||
auto texInfo = GetCommonTexture(m_state.textures[bit::tzcnt(tex)]);
|
auto texInfo = GetCommonTexture(m_state.textures[bit::tzcnt(tex)]);
|
||||||
|
|
||||||
if (texInfo->NeedsMipGen()) {
|
if (texInfo->NeedsMipGen()) {
|
||||||
this->GenerateMips(texInfo);
|
this->EmitGenerateMips(texInfo);
|
||||||
texInfo->SetNeedsMipGen(false);
|
texInfo->SetNeedsMipGen(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -706,7 +706,7 @@ namespace dxvk {
|
|||||||
D3D9CommonTexture* pResource,
|
D3D9CommonTexture* pResource,
|
||||||
UINT Subresource);
|
UINT Subresource);
|
||||||
|
|
||||||
void GenerateMips(
|
void EmitGenerateMips(
|
||||||
D3D9CommonTexture* pResource);
|
D3D9CommonTexture* pResource);
|
||||||
|
|
||||||
HRESULT LockBuffer(
|
HRESULT LockBuffer(
|
||||||
|
@ -88,7 +88,7 @@ namespace dxvk {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
this->m_parent->MarkTextureMipsUnDirty(&m_texture);
|
this->m_parent->MarkTextureMipsUnDirty(&m_texture);
|
||||||
this->m_parent->GenerateMips(&m_texture);
|
this->m_parent->EmitGenerateMips(&m_texture);
|
||||||
}
|
}
|
||||||
|
|
||||||
D3D9CommonTexture* GetCommonTexture() {
|
D3D9CommonTexture* GetCommonTexture() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user