diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2010-06-12 15:49:21 +0000 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2010-06-12 15:49:21 +0000 |
| commit | a6ebc8234f4e5aef62fb0ccf55dcf83211168896 (patch) | |
| tree | 1ca68e54a11a005eb7f064c3f4a2147366367ad8 /Source/Core/Common/Src/LinearDiskCache.cpp | |
| parent | f0d178122ed33972360ba9c268b0f814e45e0536 (diff) | |
Preparing stuff for DX11:
- be more strict with the input signature of generated pixel shaders
- replace the D3D parameter with an API_TYPE one, so that we can further distinguish between DX9 and DX11
- for what it's worth dx11 (using vs_4_0) doesn't support D3DCOLORtoUBYTE4; added a workaround for this
- add a "dx9-" prefix to the shader cache files to avoid conflicts with dx11 shaders
Apart from that we're calling CommandProcessor::Shutdown() in main.cpp,Shutdown() now.
Delete all files in User/ShaderCache if you want to save a few KB disk space :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5659 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/LinearDiskCache.cpp')
| -rw-r--r-- | Source/Core/Common/Src/LinearDiskCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/LinearDiskCache.cpp b/Source/Core/Common/Src/LinearDiskCache.cpp index 57635a3bb0..41bc5ba555 100644 --- a/Source/Core/Common/Src/LinearDiskCache.cpp +++ b/Source/Core/Common/Src/LinearDiskCache.cpp @@ -22,7 +22,7 @@ static const char ID[4] = {'D', 'C', 'A', 'C'}; // Update this to the current SVN revision every time you change shader generation code. // We don't automatically get this from SVN_REV because that would mean regenerating the // shader cache for every revision, graphics-related or not, which is simply annoying. -const int version = 5658; +const int version = 5659; LinearDiskCache::LinearDiskCache() : file_(NULL), num_entries_(0) { |
