mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Merge pull request #6118 from Tomcc/master
Resolution independent mipmaps (high IR Super Mario Galaxy Fix)
This commit is contained in:
commit
e29cd19f73
9 changed files with 204 additions and 30 deletions
|
@ -299,7 +299,7 @@ ID3D11SamplerState* StateCache::Get(SamplerState state)
|
|||
sampdc.AddressV = address_modes[static_cast<u32>(state.wrap_v.Value())];
|
||||
sampdc.MaxLOD = state.max_lod / 16.f;
|
||||
sampdc.MinLOD = state.min_lod / 16.f;
|
||||
sampdc.MipLODBias = (s32)state.lod_bias / 32.0f;
|
||||
sampdc.MipLODBias = (s32)state.lod_bias / 256.f;
|
||||
|
||||
if (state.anisotropic_filtering)
|
||||
{
|
||||
|
|
|
@ -40,7 +40,7 @@ private:
|
|||
std::unordered_map<u32, ID3D11DepthStencilState*> m_depth;
|
||||
std::unordered_map<u32, ID3D11RasterizerState*> m_raster;
|
||||
std::unordered_map<u32, ID3D11BlendState*> m_blend;
|
||||
std::unordered_map<u32, ID3D11SamplerState*> m_sampler;
|
||||
std::unordered_map<SamplerState::StorageType, ID3D11SamplerState*> m_sampler;
|
||||
};
|
||||
|
||||
namespace D3D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue