mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	gl_rasterizer_cache: Track texture target and depth in the cache.
This commit is contained in:
		| @@ -718,8 +718,9 @@ struct SurfaceParams { | |||||||
|  |  | ||||||
|     /// Checks if surfaces are compatible for caching |     /// Checks if surfaces are compatible for caching | ||||||
|     bool IsCompatibleSurface(const SurfaceParams& other) const { |     bool IsCompatibleSurface(const SurfaceParams& other) const { | ||||||
|         return std::tie(pixel_format, type, width, height) == |         return std::tie(pixel_format, type, width, height, target, depth) == | ||||||
|                std::tie(other.pixel_format, other.type, other.width, other.height); |                std::tie(other.pixel_format, other.type, other.width, other.height, other.target, | ||||||
|  |                         other.depth); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     VAddr addr; |     VAddr addr; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bunnei
					bunnei