mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 04:35:05 +01:00
rasterizer_cache: Bring back custom format parameter (#6873)
This commit is contained in:
parent
6d0cd5b00e
commit
a478bedb12
@ -228,10 +228,10 @@ std::string SurfaceParams::DebugName(bool scaled, bool custom) const noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool SurfaceParams::operator==(const SurfaceParams& other) const noexcept {
|
bool SurfaceParams::operator==(const SurfaceParams& other) const noexcept {
|
||||||
return std::tie(addr, end, width, height, stride, levels, is_tiled, texture_type,
|
return std::tie(addr, end, width, height, stride, levels, is_tiled, texture_type, pixel_format,
|
||||||
pixel_format) == std::tie(other.addr, other.end, other.width, other.height,
|
custom_format) ==
|
||||||
other.stride, other.levels, other.is_tiled,
|
std::tie(other.addr, other.end, other.width, other.height, other.stride, other.levels,
|
||||||
other.texture_type, other.pixel_format);
|
other.is_tiled, other.texture_type, other.pixel_format, other.custom_format);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace VideoCore
|
} // namespace VideoCore
|
||||||
|
Loading…
Reference in New Issue
Block a user