mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-27 12:20:05 +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_)
|
Pica::RegsInternal& regs_, RendererBase& renderer_)
|
||||||
: memory{memory_}, custom_tex_manager{custom_tex_manager_}, runtime{runtime_}, regs{regs_},
|
: memory{memory_}, custom_tex_manager{custom_tex_manager_}, runtime{runtime_}, regs{regs_},
|
||||||
renderer{renderer_}, resolution_scale_factor{renderer.GetResolutionScaleFactor()},
|
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()},
|
dump_textures{Settings::values.dump_textures.GetValue()},
|
||||||
use_custom_textures{Settings::values.custom_textures.GetValue()} {
|
use_custom_textures{Settings::values.custom_textures.GetValue()} {
|
||||||
using TextureConfig = Pica::TexturingRegs::TextureConfig;
|
using TextureConfig = Pica::TexturingRegs::TextureConfig;
|
||||||
@ -108,6 +108,8 @@ void RasterizerCache<T>::TickFrame() {
|
|||||||
}
|
}
|
||||||
UnregisterAll();
|
UnregisterAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sample_count = renderer.GetSampleCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
@ -228,6 +228,7 @@ private:
|
|||||||
SurfaceMap dirty_regions;
|
SurfaceMap dirty_regions;
|
||||||
PageMap cached_pages;
|
PageMap cached_pages;
|
||||||
u32 resolution_scale_factor;
|
u32 resolution_scale_factor;
|
||||||
|
u8 sample_count;
|
||||||
u64 frame_tick{};
|
u64 frame_tick{};
|
||||||
FramebufferParams fb_params;
|
FramebufferParams fb_params;
|
||||||
Settings::TextureFilter filter;
|
Settings::TextureFilter filter;
|
||||||
|
Loading…
Reference in New Issue
Block a user