mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d9] Hook up auto gen mip filter
This commit is contained in:
parent
7cd46e72e9
commit
c03eaf2de7
@ -4207,9 +4207,10 @@ namespace dxvk {
|
||||
void D3D9DeviceEx::EmitGenerateMips(
|
||||
D3D9CommonTexture* pResource) {
|
||||
EmitCs([
|
||||
cImageView = pResource->GetSampleView(false)
|
||||
cImageView = pResource->GetSampleView(false),
|
||||
cFilter = pResource->GetMipFilter()
|
||||
] (DxvkContext* ctx) {
|
||||
ctx->generateMipmaps(cImageView, VK_FILTER_LINEAR);
|
||||
ctx->generateMipmaps(cImageView, DecodeFilter(cFilter));
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user