mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
d3d12: fallback to linear filter when mag filter is not known.
This commit is contained in:
parent
f3dd9596cf
commit
a19a9b5585
1 changed files with 3 additions and 1 deletions
|
@ -275,7 +275,9 @@ namespace
|
|||
case CELL_GCM_TEXTURE_NEAREST: return D3D12_FILTER_TYPE_POINT;
|
||||
case CELL_GCM_TEXTURE_LINEAR: return D3D12_FILTER_TYPE_LINEAR;
|
||||
}
|
||||
unreachable("Wrong mag filter");
|
||||
// Catherine uses this
|
||||
LOG_WARNING(RSX, "Unknow mag filter used %x, fallback to bilinear filtering", mag_filter);
|
||||
return D3D12_FILTER_TYPE_LINEAR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue