Vulkan: Do near-exact lookups for the frontbuffer texture (may break everything).

This commit is contained in:
gibbed
2017-08-09 02:28:47 -05:00
parent ff1a3aaa67
commit f8edc761fc
3 changed files with 66 additions and 3 deletions

View File

@@ -92,6 +92,8 @@ class TextureCache {
// TODO(benvanik): ReadTexture.
Texture* Lookup(const TextureInfo& texture_info);
// Looks for a texture either containing or matching these parameters.
// Caller is responsible for checking if the texture returned is an exact
// match or just contains the texture given by the parameters.