early-access version 3675

This commit is contained in:
pineappleEA 2023-06-14 18:24:29 +02:00
parent 4b2daf3b75
commit 5588ebccdc
3 changed files with 8 additions and 4 deletions

View file

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

View file

@ -364,6 +364,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
.support_snorm_render_buffer = true, .support_snorm_render_buffer = true,
.support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(), .support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(),
.support_geometry_shader_passthrough = device.IsNvGeometryShaderPassthroughSupported(), .support_geometry_shader_passthrough = device.IsNvGeometryShaderPassthroughSupported(),
.support_conditional_barrier = device.SupportsConditionalBarriers(),
}; };
if (device.GetMaxVertexInputAttributes() < Maxwell::NumVertexAttributes) { if (device.GetMaxVertexInputAttributes() < Maxwell::NumVertexAttributes) {

View file

@ -62,9 +62,12 @@ std::array<float, 4> TSCEntry::BorderColor() const noexcept {
} }
float TSCEntry::MaxAnisotropy() const noexcept { float TSCEntry::MaxAnisotropy() const noexcept {
if (max_anisotropy == 0 && (depth_compare_enabled.Value() || const bool is_unsupported_mipmap_filter = Settings::values.use_aggressive_anisotropic_filtering
(mipmap_filter != TextureMipmapFilter::Linear && ? mipmap_filter == TextureMipmapFilter::None
!Settings::values.use_aggressive_anisotropic_filtering))) { : mipmap_filter != TextureMipmapFilter::Linear;
const bool has_regular_lods = min_lod_clamp == 0 && max_lod_clamp >= 256;
if (max_anisotropy == 0 &&
(depth_compare_enabled.Value() || !has_regular_lods || is_unsupported_mipmap_filter)) {
return 1.0f; return 1.0f;
} }
const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue(); const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue();