Skip to content
Snippets Groups Projects
Commit 2e1cdde9 authored by bunnei's avatar bunnei
Browse files

gl_rasterizer_cache: Track texture target and depth in the cache.

parent fefb003b
No related branches found
No related tags found
No related merge requests found
......@@ -718,8 +718,9 @@ struct SurfaceParams {
/// Checks if surfaces are compatible for caching
bool IsCompatibleSurface(const SurfaceParams& other) const {
return std::tie(pixel_format, type, width, height) ==
std::tie(other.pixel_format, other.type, other.width, other.height);
return std::tie(pixel_format, type, width, height, target, depth) ==
std::tie(other.pixel_format, other.type, other.width, other.height, other.target,
other.depth);
}
VAddr addr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment