early-access version 3675
This commit is contained in:
parent
4b2daf3b75
commit
5588ebccdc
3 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 3674.
|
||||
This is the source code for early-access 3675.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
|
|
@ -364,6 +364,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
|
|||
.support_snorm_render_buffer = true,
|
||||
.support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(),
|
||||
.support_geometry_shader_passthrough = device.IsNvGeometryShaderPassthroughSupported(),
|
||||
.support_conditional_barrier = device.SupportsConditionalBarriers(),
|
||||
};
|
||||
|
||||
if (device.GetMaxVertexInputAttributes() < Maxwell::NumVertexAttributes) {
|
||||
|
|
|
@ -62,9 +62,12 @@ std::array<float, 4> TSCEntry::BorderColor() const noexcept {
|
|||
}
|
||||
|
||||
float TSCEntry::MaxAnisotropy() const noexcept {
|
||||
if (max_anisotropy == 0 && (depth_compare_enabled.Value() ||
|
||||
(mipmap_filter != TextureMipmapFilter::Linear &&
|
||||
!Settings::values.use_aggressive_anisotropic_filtering))) {
|
||||
const bool is_unsupported_mipmap_filter = Settings::values.use_aggressive_anisotropic_filtering
|
||||
? mipmap_filter == TextureMipmapFilter::None
|
||||
: 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;
|
||||
}
|
||||
const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue();
|
||||
|
|
Loading…
Reference in a new issue