early-access version 3395

This commit is contained in:
pineappleEA 2023-02-13 08:19:19 +01:00
parent 6a72527967
commit aef8eb6afb
4 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3394. This is the source code for early-access 3395.
## Legal Notice ## Legal Notice

View File

@ -199,7 +199,11 @@ void RestoreGlobalState(bool is_powered_on) {
values.renderer_backend.SetGlobal(true); values.renderer_backend.SetGlobal(true);
values.renderer_force_max_clock.SetGlobal(true); values.renderer_force_max_clock.SetGlobal(true);
values.vulkan_device.SetGlobal(true); values.vulkan_device.SetGlobal(true);
values.fullscreen_mode.SetGlobal(true);
values.aspect_ratio.SetGlobal(true); values.aspect_ratio.SetGlobal(true);
values.resolution_setup.SetGlobal(true);
values.scaling_filter.SetGlobal(true);
values.anti_aliasing.SetGlobal(true);
values.max_anisotropy.SetGlobal(true); values.max_anisotropy.SetGlobal(true);
values.use_speed_limit.SetGlobal(true); values.use_speed_limit.SetGlobal(true);
values.speed_limit.SetGlobal(true); values.speed_limit.SetGlobal(true);

View File

@ -231,12 +231,8 @@ static PixelFormat ByteSizeToFormat(u32 bytes_per_pixel) {
case 4: case 4:
return PixelFormat::A8B8G8R8_UINT; return PixelFormat::A8B8G8R8_UINT;
case 8: case 8:
return PixelFormat::R16G16_UINT;
case 16:
return PixelFormat::R16G16B16A16_UINT; return PixelFormat::R16G16B16A16_UINT;
case 24: case 16:
return PixelFormat::R32G32B32_FLOAT;
case 32:
return PixelFormat::R32G32B32A32_UINT; return PixelFormat::R32G32B32A32_UINT;
default: default:
UNIMPLEMENTED(); UNIMPLEMENTED();

View File

@ -89,12 +89,12 @@ void SwizzleImage(Tegra::MemoryManager& gpu_memory, GPUVAddr gpu_addr, const Ima
const ImageInfo& overlap_info, u32 new_level, const ImageInfo& overlap_info, u32 new_level,
u32 overlap_level, bool strict_size) noexcept; u32 overlap_level, bool strict_size) noexcept;
[[nodiscard]] bool IsBlockLinearSizeCompatibleBPPRelaxed(const ImageInfo& lhs, const ImageInfo& rhs,
u32 lhs_level, u32 rhs_level) noexcept;
[[nodiscard]] bool IsPitchLinearSameSize(const ImageInfo& lhs, const ImageInfo& rhs, [[nodiscard]] bool IsPitchLinearSameSize(const ImageInfo& lhs, const ImageInfo& rhs,
bool strict_size) noexcept; bool strict_size) noexcept;
[[nodiscard]] bool IsBlockLinearSizeCompatibleBPPRelaxed(const ImageInfo& lhs, const ImageInfo& rhs,
u32 lhs_level, u32 rhs_level) noexcept;
[[nodiscard]] std::optional<OverlapResult> ResolveOverlap(const ImageInfo& new_info, [[nodiscard]] std::optional<OverlapResult> ResolveOverlap(const ImageInfo& new_info,
GPUVAddr gpu_addr, VAddr cpu_addr, GPUVAddr gpu_addr, VAddr cpu_addr,
const ImageBase& overlap, const ImageBase& overlap,