rasterizer_cache: Bring back custom format parameter (#6873)

This commit is contained in:
GPUCode 2023-08-08 01:10:11 +03:00 committed by GitHub
parent 6d0cd5b00e
commit a478bedb12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,10 +228,10 @@ std::string SurfaceParams::DebugName(bool scaled, bool custom) const noexcept {
}
bool SurfaceParams::operator==(const SurfaceParams& other) const noexcept {
return std::tie(addr, end, width, height, stride, levels, is_tiled, texture_type,
pixel_format) == std::tie(other.addr, other.end, other.width, other.height,
other.stride, other.levels, other.is_tiled,
other.texture_type, other.pixel_format);
return std::tie(addr, end, width, height, stride, levels, is_tiled, texture_type, pixel_format,
custom_format) ==
std::tie(other.addr, other.end, other.width, other.height, other.stride, other.levels,
other.is_tiled, other.texture_type, other.pixel_format, other.custom_format);
}
} // namespace VideoCore