mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-26 20:30:06 +00:00
rasterizer_cache: Add sample_count
This commit is contained in:
parent
42b04b048c
commit
a85dbaded9
@ -38,7 +38,7 @@ RasterizerCache<T>::RasterizerCache(Memory::MemorySystem& memory_,
|
||||
Pica::RegsInternal& regs_, RendererBase& renderer_)
|
||||
: memory{memory_}, custom_tex_manager{custom_tex_manager_}, runtime{runtime_}, regs{regs_},
|
||||
renderer{renderer_}, resolution_scale_factor{renderer.GetResolutionScaleFactor()},
|
||||
filter{Settings::values.texture_filter.GetValue()},
|
||||
sample_count{renderer.GetSampleCount()}, filter{Settings::values.texture_filter.GetValue()},
|
||||
dump_textures{Settings::values.dump_textures.GetValue()},
|
||||
use_custom_textures{Settings::values.custom_textures.GetValue()} {
|
||||
using TextureConfig = Pica::TexturingRegs::TextureConfig;
|
||||
@ -108,6 +108,8 @@ void RasterizerCache<T>::TickFrame() {
|
||||
}
|
||||
UnregisterAll();
|
||||
}
|
||||
|
||||
sample_count = renderer.GetSampleCount();
|
||||
}
|
||||
|
||||
template <class T>
|
||||
|
@ -228,6 +228,7 @@ private:
|
||||
SurfaceMap dirty_regions;
|
||||
PageMap cached_pages;
|
||||
u32 resolution_scale_factor;
|
||||
u8 sample_count;
|
||||
u64 frame_tick{};
|
||||
FramebufferParams fb_params;
|
||||
Settings::TextureFilter filter;
|
||||
|
Loading…
Reference in New Issue
Block a user