diff --git a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm index 79dc1f29bf..034fbfd55b 100644 --- a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm +++ b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm @@ -814,9 +814,11 @@ static MRCOwned> CreateSampler(id dev, GSHWDrawCo [sdesc setRAddressMode:MTLSamplerAddressModeClampToEdge]; [sdesc setMaxAnisotropy:GSConfig.MaxAnisotropy && sel.aniso ? GSConfig.MaxAnisotropy : 1]; - [sdesc setLodMaxClamp:(sel.lodclamp || sel.UseMipmapFiltering()) ? 0.25f : FLT_MAX]; + bool clampLOD = sel.lodclamp || !sel.UseMipmapFiltering(); + const char* clampdesc = clampLOD ? " LODClamp" : ""; + [sdesc setLodMaxClamp:clampLOD ? 0.25f : FLT_MAX]; - [sdesc setLabel:[NSString stringWithFormat:@"%s%s %s%s", taudesc, tavdesc, magname, minname]]; + [sdesc setLabel:[NSString stringWithFormat:@"%s%s %s%s%s", taudesc, tavdesc, magname, minname, clampdesc]]; MRCOwned> ret = MRCTransfer([dev newSamplerStateWithDescriptor:sdesc]); pxAssertRel(ret, "Failed to create sampler!"); return ret;