Project

General

Profile

Actions

Emulator Issues #3801

closed

User/ShaderCache/* files do not update after first creation

Added by james.jdunne over 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem?
The ShaderCache files are never updated after they are first created. I have a patch to resolve the issue.

Dolphin version with the problem (as it appears in the title bar, Ex.: "R
4779" or "R 6403M"):
Existing working functionality was broken by r6420 when it was rewritten to use C++ iostream class.

Patch is attached.

  • James Dunne
Actions #1

Updated by james.jdunne over 14 years ago

I do have a word of warning. This will exhibit "choppy" behavior where the emulation crawls to a near-halt when compiling shaders, but it should cache the compiled shader bytecode forever after that, or at least until the LINEAR_DISKCACHE_VER value changes :). Then again, I didn't introduce any new functionality, just brought back old working functionality which a bug overtook and produced less of a slowdown for compiling shaders because it didn't append to the appropriate shader cache file and flush to disk.

Actions #2

Updated by Billiard26 over 14 years ago

  • Status changed from New to Fixed

fixed by r6690

Actions

Also available in: Atom PDF