mirror of
https://github.com/Ishan09811/pine.git
synced 2025-04-29 08:25:10 +00:00
fix
This commit is contained in:
parent
0dfc4cbce3
commit
b71d604f08
@ -39,7 +39,7 @@ namespace skyline {
|
||||
isInternetEnabled = ktSettings.GetBool("isInternetEnabled");
|
||||
forceTripleBuffering = ktSettings.GetBool("forceTripleBuffering");
|
||||
vsyncMode = ktSettings.GetInt<int>("vsyncMode");
|
||||
anisotropicFilter = ktSettings.GetInt<int>("anisotropic_filter");
|
||||
anisotropicFilter = ktSettings.GetInt<float>("anisotropic_filter");
|
||||
gpuDriver = ktSettings.GetString("gpuDriver");
|
||||
gpuDriverLibraryName = ktSettings.GetString("gpuDriverLibraryName");
|
||||
executorSlotCountScale = ktSettings.GetInt<u32>("executorSlotCountScale");
|
||||
|
@ -72,7 +72,7 @@ namespace skyline {
|
||||
Setting<bool> forceTripleBuffering; //!< If the presentation engine should always triple buffer even if the swapchain supports double buffering
|
||||
Setting<int> vsyncMode;
|
||||
Setting<bool> disableShaderCache; //!< Prevents cached shaders from being loaded and disables caching of new shaders
|
||||
Setting<int> anisotropicFilter;
|
||||
Setting<float> anisotropicFilter;
|
||||
|
||||
// CPU
|
||||
Setting<bool> enableJitFastmem;
|
||||
|
@ -172,7 +172,7 @@ namespace skyline::gpu::interconnect {
|
||||
return vkMode;
|
||||
}};
|
||||
|
||||
auto maxAnisotropy{static_cast<float>(ctx.gpu.getState().settings->anisotropicFilter)};
|
||||
auto maxAnisotropy{*ctx.gpu.getState().settings->anisotropicFilter};
|
||||
if (maxAnisotropy == 1.0f) maxAnisotropy = texSampler.MaxAnisotropy();
|
||||
vk::StructureChain<vk::SamplerCreateInfo, vk::SamplerReductionModeCreateInfoEXT, vk::SamplerCustomBorderColorCreateInfoEXT> samplerInfo{
|
||||
vk::SamplerCreateInfo{
|
||||
|
Loading…
x
Reference in New Issue
Block a user