Disable clut render for now as a "slow effect".

Also, add reporting.
This commit is contained in:
Unknown W. Brackets 2015-11-26 13:42:18 -08:00
parent 8e2557bafe
commit 3965cba187
2 changed files with 4 additions and 2 deletions

View file

@ -789,6 +789,7 @@ void TextureCacheDX9::LoadClut(u32 clutAddr, u32 loadBytes) {
framebuffer->last_frame_clut = gpuStats.numFlips;
framebuffer->usageFlags |= FB_USAGE_CLUT;
foundFramebuffer = true;
WARN_LOG_REPORT_ONCE(clutrenderdx9, G3D, "Using rendered CLUT for texture decode at %08x (%dx%dx%d)", clutAddr, framebuffer->width, framebuffer->height, framebuffer->colorDepth);
}
}
@ -796,7 +797,7 @@ void TextureCacheDX9::LoadClut(u32 clutAddr, u32 loadBytes) {
if (Memory::IsValidAddress(clutAddr)) {
// It's possible for a game to (successfully) access outside valid memory.
u32 bytes = Memory::ValidSize(clutAddr, loadBytes);
if (foundFramebuffer) {
if (foundFramebuffer && !g_Config.bDisableSlowFramebufEffects) {
gpu->PerformMemoryDownload(clutAddr, bytes);
}

View file

@ -811,6 +811,7 @@ void TextureCache::LoadClut(u32 clutAddr, u32 loadBytes) {
framebuffer->last_frame_clut = gpuStats.numFlips;
framebuffer->usageFlags |= FB_USAGE_CLUT;
foundFramebuffer = true;
WARN_LOG_REPORT_ONCE(clutrender, G3D, "Using rendered CLUT for texture decode at %08x (%dx%dx%d)", clutAddr, framebuffer->width, framebuffer->height, framebuffer->colorDepth);
}
}
@ -818,7 +819,7 @@ void TextureCache::LoadClut(u32 clutAddr, u32 loadBytes) {
if (Memory::IsValidAddress(clutAddr)) {
// It's possible for a game to (successfully) access outside valid memory.
u32 bytes = Memory::ValidSize(clutAddr, loadBytes);
if (foundFramebuffer) {
if (foundFramebuffer && !g_Config.bDisableSlowFramebufEffects) {
gpu->PerformMemoryDownload(clutAddr, bytes);
}