Implement color-buffer clears

This commit is contained in:
Wunkolo 2023-08-24 11:27:49 -07:00
parent d781802eb0
commit e4195d4d4d
2 changed files with 67 additions and 6 deletions

View file

@ -76,7 +76,7 @@ class RendererVK final : public Renderer {
// Hash(loc, size, format) -> Texture
std::map<u64, Texture> textureCache;
Texture* findColorRenderTexture(u32 addr);
Texture* findRenderTexture(u32 addr);
Texture& getColorRenderTexture(u32 addr, PICA::ColorFmt format, u32 width, u32 height);
Texture& getDepthRenderTexture(u32 addr, PICA::DepthFmt format, u32 width, u32 height);